The following S-tag conditional will accomplish this:

[[?xx[[S1:first_name]]xx::xxxx::Friend::[[S1:first_name]]]]