public boolean hasLeader(String playerName){
  return (leader != null) && leader.equals(playerName);
}

public boolean hasLeader ( String playerName ) { return ( leader != null ) && leader . equals ( playerName ) ; }
is the specified player the leader of this group ?
