def GetTrack():
  major_os_version = GetMajorOSVersion()
  if not major_os_version:
    track = 'stable'
  else:
    track = MachineInfoForKey('Track')
    if distutils_version.LooseVersion(
        major_os_version) > distutils_version.LooseVersion(MAX_SUPPORTED_VERS):
      track = 'unstable'
    elif track not in ['stable', 'testing', 'unstable']:
      track = 'stable'
  return track
Determine if element is in substitution group(s)
dataset/ETHPy150Open google/macops/gmacpyutil/gmacpyutil/gmacpyutil.py/GetTrack--crossover with--dataset/ETHPy150Open Arelle/Arelle/arelle/ModelXbrl.py/ModelXbrl.isInSubstitutionGroup