def METHOD_NAME(self) -> Any:
    if self._usb_messenger is not None:
        return self._usb_messenger
    else:
        LOG.warning("Remote gpio control not connected")
        return mock.MagicMock()