code: def _fs_support_globalflock(file_system):
      if file_system.fstype == "lustre":
          return ("flock" in file_system.opts) and (
              "localflock" not in file_system.opts
          )
  
      elif file_system.fstype == "beegfs":
          return "tuneUseGlobalFileLocks" in file_system.opts
  
      elif file_system.fstype == "gpfs":
          return True
  
      elif file_system.fstype == "nfs":
          return False
  
      return file_system.fstype in local_file_systems
  
imports: import logging
  import os
  import pickle
  from contextlib import contextmanager
  from pickle import PicklingError
  import psutil
  from filelock import FileLock, SoftFileLock, Timeout
  import orion.core
  from orion.core.io.database import Database, DatabaseTimeout
  from orion.core.io.database.ephemeraldb import EphemeralDB
label_desc: Use image node_id 3 for calling a global function with example usage: _fs_support_globalflock(file_system) and returns: unknown, unknown, unknown, True, False