':type node: ast.ImportFrom'

def visit_ImportFrom(self, node):

    self.generic_visit(node)
    if (not node.module):
        return
    if ((node.module == 'ansible.module_utils') or node.module.startswith('ansible.module_utils.')):
        for alias in node.names:
            self.add_import(('%s.%s' % (node.module, alias.name)), node.lineno)
