@classmethod
def exists(cls, client, name):
    """
        Determine whether network with provided name exists.

        :param client: client instance
        :type client: :class:`~pylxd.client.Client`
        :param name: name of the network
        :type name: str
        :returns: `True` if network exists, `False` otherwise
        :rtype: bool
        """
    try:
        client.networks.get(name)
        return True
    except cls.NotFound:
        return False
