parameters: (self, proto)
return_statement: return True
docstring: Checks if this object should load the SavedUserObject `proto`.
docstring_summary: Checks if this object should load the SavedUserObject `proto`.
docstring_tokens: Checks if this object should load the SavedUserObject proto .
function: def should_load(self, proto):
      """Checks if this object should load the SavedUserObject `proto`."""
      if proto.identifier != self.identifier:
        return False
      if self.version < proto.version.min_consumer:
        return False
      if proto.version.producer < self._min_producer_version:
        return False
      for bad_version in proto.version.bad_consumers:
        if self.version == bad_version:
          return False
      return True
function_tokens: def should_load ( self , proto ) : if proto . identifier != self . identifier : return False if self . version < proto . version . min_consumer : return False if proto . version . producer < self . _min_producer_version : return False for bad_version in proto . version . bad_consumers : if self . version == bad_version : return False return True