def is_network(network):
    """Validate that the argument is a |Network|."""
    from . import Network
    if not isinstance(network, Network):
        raise ValueError(
            'Input must be a Network (perhaps you passed a Subsystem instead?')
