code: public static Predicate<Link> havingProfile(final String profile) {
          return link -> profile.equals(link.getProfile());
      }
docs: Returns a Predicate that is matching links having the specified profile {@link Link#getProfile() profile}
  
  @param profile the expected profile of the link
  @return Predicate used to select links