prow/github/fakegithub/fakegithub.go
func (f *FakeClient) TeamHasMember(teamID int, memberLogin string) (bool, error) {
	teamMembers, _ := f.ListTeamMembers(teamID, github.RoleAll)
	for _, member := range teamMembers {
		if member.Login == memberLogin {
			return true, nil
		}
	}
	return false, nil
}
func (f *FakeClient) TeamHasMember(teamID int, memberLogin string) (bool, error) {
	teamMembers, _ := f.ListTeamMembers(teamID, github.RoleAll)
	for _, member := range teamMembers {
		if member.Login == memberLogin {
			return true, nil
		}
	}
	return false, nil
}
// TeamHasMember checks if a user belongs to a team