code: def filemode(mode):
      """Convert a file's mode to a string of the form '-rwxrwxrwx'."""
      perm = []
      for table in _filemode_table:
          for bit, char in table:
              if mode & bit == bit:
                  perm.append(char)
                  break
          else:
              perm.append("-")
      return "".join(perm)
  
file_path: catboost/contrib/tools/python3/src/Lib/stat.py
label_desc: Use image node_id 13 for calling a global function with example usage: filemode(mode) and returns: str