Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
Test whether the specification is implemented by a class or factory.
Raise TypeError if argument is neither a class nor a callable.

src/s/i/silva.core.conf-3.0.3/src/silva/core/conf/installer.py   silva.core.conf(Download)
        """
        cls = content['instance']
        return (ISilvaObject.implementedBy(cls) and
                not IVersion.implementedBy(cls))
 
        """
        cls = content['instance']
        return (ISilvaObject.implementedBy(cls) or
                IVersion.implementedBy(cls))
 
        """
        cls = content['instance']
        return ((ISilvaObject.implementedBy(cls) and
                 not interfaces.IVersionedObject.implementedBy(cls)) or
                IVersion.implementedBy(cls))

src/s/i/silva.core.conf-3.0.3/src/silva/core/conf/utils.py   silva.core.conf(Download)
        if interfaces.IContainer.providedBy(container):
            # In a Container, you can add content.
            return interfaces.ISilvaObject.implementedBy(content)
 
        if interfaces.IVersionedObject.providedBy(container):