def label_func(s, label=label):
                self.set_label(s, label)
def matchfn(self, f):
        for match in self._matchers:
            if match(f):
                return True
        return False