code: def _find_server(account, servername=None):
      
      servers = servers = [s for s in account.resources() if 'server' in s.provides]
      # If servername specified find and return it
      if servername is not None:
          for server in servers:
              if server.name == servername:
                  return server.connect()
          raise SystemExit('Unknown server name: %s' % servername)
      # If servername not specified; allow user to choose
      return utils.choose('Choose a Server', servers, 'name').connect()
docs: Find and return a PlexServer object.