pub fn can_allow_xdm_submission<Client, Block>(
client: &Arc<Client>,
xdm_id: XdmId,
submitted_block_id: BlockId<Block>,
current_block_id: BlockId<Block>,
maybe_channel_nonce: Option<ChannelNonce>,
) -> boolwhere
Client: HeaderBackend<Block>,
Block: BlockT,