def isUnsavedPath(path):
 tag = '<Unsaved>'
 length = len(tag)
 if (path.startswith(tag) and ((len(path) == length) or (path[length] in '\\/'))):
  return True
 else:
  return False

def isUnsavedPath ( path ) : tag = '<Unsaved>' length = len ( tag ) if ( path . startswith ( tag ) and ( ( len ( path ) == length ) or ( path [ length ] in '\\/' ) ) ) : return True else : return False
return true if the given path is a special <unsaved>subpath file .