third_party/blink/renderer/bindings/scripts/web_idl/interface.py
def does_implement(self, identifier):
        """
        Returns True if this is or inherits from the given interface.
        """
        assert isinstance(identifier, str)

        for interface in self.inclusive_inherited_interfaces:
            if interface.identifier == identifier:
                return True
        return False

        Returns True if this is or inherits from the given interface.
        
Returns True if this is or inherits from the given interface.
Returns True if this is or inherits from the given interface .
def does_implement(self, identifier):
        assert isinstance(identifier, str)
        for interface in self.inclusive_inherited_interfaces:
            if interface.identifier == identifier:
                return True
        return False
def does_implement ( self , identifier ) : assert isinstance ( identifier , str ) for interface in self . inclusive_inherited_interfaces : if interface . identifier == identifier : return True return False
Returns True if this is or inherits from the given interface.
Returns True if this is or inherits from the given interface .
"""
        Returns True if this is or inherits from the given interface.
        """
self
identifier