<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def visit(self, node):
 """ Visitor looking for matching between current node and pattern. If it match, save it but whatever happen, keep going. """

        if Check(node, dict()).visit(self.pattern):
            self.result.add(node)
        self.generic_visit(node)