(self, f)
return True
Match this flow against a compiled filter expression. Returns True
            if matched, False if not.

            If f is a string, it will be compiled as a filter expression. If
            the expression is invalid, ValueError is raised.
Match this flow against a compiled filter expression. Returns True
            if matched, False if not.
Match this flow against a compiled filter expression . Returns True if matched False if not .
def match(self, f):
        """
            Match this flow against a compiled filter expression. Returns True
            if matched, False if not.

            If f is a string, it will be compiled as a filter expression. If
            the expression is invalid, ValueError is raised.
        """
        if isinstance(f, basestring):
            f = filt.parse(f)
            if not f:
                raise ValueError("Invalid filter expression.")
        if f:
            return f(self)
        return True
def match ( self , f ) : if isinstance ( f , basestring ) : f = filt . parse ( f ) if not f : raise ValueError ( "Invalid filter expression." ) if f : return f ( self ) return True