private bool IsSelectedUserTeamMember(WBTeam team) { if (selectedUser == null) { return(team.IsCurrentUserTeamMember()); } else { return(team.IsUserTeamMember(selectedUser)); } }