'Return whether `records[0]` has a value for ``field`` in cache.'

def contains(self, field):

    if isinstance(field, basestring):
        field = self._recs._fields[field]
    return (self._recs.id in self._recs.env.cache[field])
