code: def _file_list_entry_scala_to_python(
      file_list_entry: Dict[str, Any]
  ) -> FileListEntry:
      dt = dateutil.parser.isoparse(
          file_list_entry["modification_time"]
      )
      mtime = time.mktime(dt.timetuple())
      if file_list_entry["is_dir"]:
          typ = FileType.DIRECTORY
      elif file_list_entry["is_link"]:
          typ = FileType.SYMLINK
      else:
          typ = FileType.FILE
      return FileListEntry(
          path=file_list_entry["path"],
          owner=file_list_entry["owner"],
          size=file_list_entry["size"],
          typ=typ,
          modification_time=mtime,
      )
  
imports: import io
  import json
  import time
  from typing import Dict, List, Union, Any
  import dateutil.parser
  from hailtop.fs.fs import FS
  from hailtop.fs.stat_result import FileType, FileListEntry, FileStatus
label_desc: Use image node_id 2 for calling a global function with example usage: _file_list_entry_scala_to_python(file_list_entry) and returns: FileListEntry