def METHOD_NAME(self, node):
    self.has_dist_comp = False
    self.generic_visit(node)
    if self.has_dist_comp:
        node.body.insert(0, ast.Import([ast.alias('__dispatch__',
                                                  mangle('__dispatch__'))]))
    return node