code: def get_channelstate_closed(
          chain_state: ChainState,
          payment_network_id: PaymentNetworkID,
          token_address: TokenAddress,
  ) -> List[NettingChannelState]:
      
      return get_channelstate_filter(
          chain_state,
          payment_network_id,
          token_address,
          lambda channel_state: channel.get_status(channel_state) == CHANNEL_STATE_CLOSED,
      )
docs: Return the state of closed channels in a token network.