def has_untracked_files(directory=None):
    out = check_output('git status', shell=True, cwd=directory)
    if '# Untracked files:' in out:
        return True
    return False
Get a dict of VM UUIDs to states from libvirt.
dataset/ETHPy150Open ros-infrastructure/bloom/bloom/git.py/has_untracked_files--crossover with--dataset/ETHPy150Open beloglazov/openstack-neat/neat/locals/collector.py/get_current_vms