code: def __get_league_object():
      
      # get data
      data = mlbgame.data.get_properties()
      # return league object
      return etree.parse(data).getroot().find('leagues').find('league')
docs: Returns the xml object corresponding to the league
  
      Only designed for internal use