def METHOD_NAME(self) -> bool:
    try:
        return bool(
            self._fifo_opened.is_set()
            and self._fifo_in_file is not None and self._fifo_out_file is not None
            and self._fifo_in_file.fileno() and self._fifo_out_file.fileno()
        )
    except ValueError:
        return False