docs: def provides_collection_resource(obj):
      """
      Checks if the given type or instance provides the
      :class:`everest.resources.interfaces.ICollectionResource` interface.
      """
      if isinstance(obj, type):
          obj = object.__new__(obj)
      return ICollectionResource in provided_by(obj)