If you pass a team name and the team doesn't exist, it will return null. Seems straight foward to me.