def _check_call_names(self, call_node, names):
    if isinstance(call_node, ast.Call):
        if isinstance(call_node.func, ast.Name):
            if (call_node.func.id in names):
                return True
    return False
def _check_call_names(self, call_node, names):
    if isinstance(call_node, ast.Call):
        if isinstance(call_node.func, ast.Name):
            if (call_node.func.id in names):
                return True
    return False