public boolean contains ( Friend friend ) { for ( final Friend f : getFriends ( ) ) { if ( StringUtils . parseName ( f . getUserId ( ) ) . equals ( StringUtils . parseName ( friend . getUserId ( ) ) ) ) { return true ; } } return false ; }
Checks if a given Friend is part of this group .