def _has_uncommitted_files():
    uncommitted_files = subprocess.check_output(GIT_IS_DIRTY_CMD.split(' '))
    return bool(len(uncommitted_files))
Returns true if the repo contains modified files that are uncommitted.
dataset/ETHPy150Open oppia/oppia/scripts/pre_push_hook.py/_has_uncommitted_files