def METHOD_NAME(self, node):
    """
    Visitor looking for matching between current node and pattern.
    If it match, save it else look for a match at lower level keep going.
    """
    if Check(node, dict()).METHOD_NAME(self.pattern):
        self.result.add(node)
    else:
        self.generic_visit(node)