def getNetwork(networks, name):
    """
    Get the network with a specific name. This method does not create a network 
    if no network exists with the given name.

    Arguments:
        networks -- Network objects for searching.
        name -- Name the network shall have.

    Returns:
        network object on success else None.
    """
    networks = [n for n in networks if n.getID() == name]
    if len(networks) == 0:
        return None
    else:
        return networks[0]