def in_system_path(filename):
 fn = sdk_normalize(os.path.realpath(filename))
 if fn.startswith('/usr/local/'):
  return False
 elif (fn.startswith('/System/') or fn.startswith('/usr/')):
  if (fn in NOT_SYSTEM_FILES):
   return False
  return True
 else:
  return False

def in_system_path ( filename ) : fn = sdk_normalize ( os . path . realpath ( filename ) ) if fn . startswith ( '/usr/local/' ) : return False elif ( fn . startswith ( '/System/' ) or fn . startswith ( '/usr/' ) ) : if ( fn in NOT_SYSTEM_FILES ) : return False return True else : return False
return true if the file is in a system path .