code: def channel_is_opened(
              self,
              participant1: Address,
              participant2: Address,
              block_identifier: BlockSpecification,
              channel_identifier: ChannelID,
      ) -> bool:
          
          try:
              channel_state = self._get_channel_state(
                  participant1=participant1,
                  participant2=participant2,
                  block_identifier=block_identifier,
                  channel_identifier=channel_identifier,
              )
          except RaidenRecoverableError:
              return False
          return channel_state == ChannelState.OPENED
docs: Returns true if the channel is in an open state, false otherwise.