docs: def verify(self, cls, id_field, id_val, obj_from_cache):
          """
          Verify that the object we retrieved from cache matches the requested
          `id_field`/`id_val`.
          """
          return getattr(obj_from_cache, id_field) == id_val