def get_network_object(self, network_uuid):
    """
    Helper function for getting a network object by UUID string.
    """
    network = self.conn.networkLookupByUUIDString(network_uuid)
    if network != None:
        return network
    else:
        return None