def has?(object, key)
      return true if self.include?(object_store_key(object, key))

      store_key = object.is_a?(Class) ? :class_store_key : :instance_store_key
      klass = object.is_a?(Class) ? object : object.class
      while klass.superclass
        return true if self.include?(send(store_key, klass.superclass, key))
        klass = klass.superclass
      end
      false
    end
def has?(object, key)
      return true if self.include?(object_store_key(object, key))

      store_key = object.is_a?(Class) ? :class_store_key : :instance_store_key
      klass = object.is_a?(Class) ? object : object.class
      while klass.superclass
        return true if self.include?(send(store_key, klass.superclass, key))
        klass = klass.superclass
      end
      false
    end
:nodoc: