Fixing isTeamPresent to return false instead of an exception