def METHOD_NAME(self, listener: HardwareEventHandler) -> None:
    """Remove an existing hardware event listener for estop detector changes."""
    if listener in self._listeners:
        self._listeners.remove(listener)