def _worktrees_supported():
    try:
        return _git_version() >= LooseVersion('2.5.0')
    except AttributeError:
        return False
Check if the git version is 2.5.0 or later
dataset/ETHPy150Open saltstack/salt/tests/integration/modules/git.py/_worktrees_supported