code: def is_local(filename, pathlist):
    '''
    Returns True if *filename* is a subpath of any of the paths in *pathlist*.
    '''
  
    filename = os.path.abspath(filename)
    for path_name in pathlist:
      path_name = os.path.abspath(path_name)
      if is_subpath(filename, path_name):
        return True
    return Falsf is_local(filename, pathlist):
    '''
    Returns True if *filename* is a subpath of any of the paths in *pathlist*.
    '''
  
    filename = os.path.abspath(filename)
    for path_name in pathlist:
      path_name = os.path.abspath(path_name)
      if is_subpath(filename, path_name):
        return True
    return False
docs: Returns True if *filename* is a subpath of any of the paths in *pathlist*.