def __contains__(self, interface):

        return self.extends(interface) and interface in self.interfaces()
Test whether an interface is in the specification
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/zope/interface/declarations.py/Declaration.__contains__