(self, record, field)
return record.id in self._get_field_cache(record, field)
Return whether ``record`` has a value for ``field``.
Return whether ``record`` has a value for ``field``.
Return whether record has a value for field .
def contains(self, record, field):
        """ Return whether ``record`` has a value for ``field``. """
        return record.id in self._get_field_cache(record, field)
def contains ( self , record , field ) : return record . id in self . _get_field_cache ( record , field )