code: def _IsWindowsDrivePathSegment(cls, path_segment):
      
      if (len(path_segment) == 2 and path_segment[1] == ':' and
          path_segment[0].isalpha()):
        return True
  
      path_segment = path_segment.upper()
      return path_segment in ('%%ENVIRON_SYSTEMDRIVE%%', '%SYSTEMDRIVE%')
docs: Determines if the path segment contains a Windows Drive indicator.
  
      A drive indicator can be a drive letter or %SystemDrive%.
  
      Args:
        path_segment (str): path segment.
  
      Returns:
        bool: True if the path segment contains a Windows Drive indicator.