def _FindCommandInPath(command):
  if '/' in command or '\\' in command:
    # If the command already has path elements (either relative or
    # absolute), then assume it is constructed properly.
    return command
  else:
    # Search through the path list and find an existing file that
    # we can access.
    paths = os.environ.get('PATH','').split(os.pathsep)
    for path in paths:
      item = os.path.join(path, command)
      if os.path.isfile(item) and os.access(item, os.X_OK):
        return item
  return command
checks if the sequence name attribute is properly set
dataset/ETHPy150Open adblockplus/gyp/pylib/gyp/MSVSUserFile.py/_FindCommandInPath--crossover with--dataset/ETHPy150Open eoyilmaz/anima/anima/env/mayaEnv/publish.py/check_sequence_name