Match a query for a specific network/list of networks

def _match_net(self, net):
        """Match a query for a specific network/list of networks"""
        if self.network:
            return match_list(self.network, net)
        else:
            return True