def in_cache(self, zenpy_object):
object_type = get_object_type(zenpy_object)<EOL>cache_key_attr = self._cache_key_attribute(object_type)<EOL>return self.get(object_type, getattr(zenpy_object, cache_key_attr)) is not None<EOL>
Determine whether or not this object is in the cache