def is_faulty(self, event):
        """
        returns a boolean if fault processing is handled for this event
        """
        for each in self._faults:
            if each.name.upper() == event.name.upper():
                return True
        return False
def is_faulty ( self , event ) : for each in self . _faults : if each . name . upper ( ) == event . name . upper ( ) : return True return False
returns a boolean if fault processing is handled for this event