'Return a list of module_utils imports found in the specified source file.
:type path: str
:type module_utils: set[str]'

def __init__(self, path, module_utils):

    self.path = path
    self.module_utils = module_utils
    self.imports = set()
    if path.endswith('/__init__.py'):
        path = os.path.split(path)[0]
    if path.startswith('lib/ansible/module_utils/'):
        package = os.path.split(path)[0].replace('/', '.')[4:]
        if ((package != 'ansible.module_utils') and (package not in VIRTUAL_PACKAGES)):
            self.add_import(package, 0)
