def get_channel_block(peer_ex, ord_name, ord_namespace, channel, cmd_suffix):
    """Get channel block from Peer.

    Args:
        peer_ex (Executor): A Pod Executor representing a Peer.
        ord_name (str): Name of the orderer we wish to communicate with.
        ord_namespace (str): Namespace where the orderer resides.
        channel (str): Name of the channel we with to retrieve.
        cmd_suffix (str): Suffix to the "peer channel fetch" command.

    Returns:
        bool: Were we able to fetch the channel?
    """
    channel_file = "/var/hyperledger/{channel}.block".format(channel=channel)
    channel_block, _ = peer_ex.execute("ls {}".format(channel_file))
    if not channel_block:
        res, err = peer_ex.execute(
            (
                "bash -c 'peer channel fetch 0 {channel_file} "
                + "-c {channel} "
                + "-o {orderer}-hlf-ord.{ord_ns}.svc.cluster.local:7050 {cmd_suffix}'"
            ).format(
                channel_file=channel_file,
                channel=channel,
                orderer=ord_name,
                ord_ns=ord_namespace,
                cmd_suffix=cmd_suffix,
            )
        )
        if err:
            return False
    return True