code: def is_locking_enabled():
      return dask.config.get("distributed.worker.use-file-locking")
  
imports: from __future__ import annotations
  import glob
  import logging
  import os
  import shutil
  import stat
  import sys
  import tempfile
  import weakref
  from typing import ClassVar
  import locket
  import dask
label_desc: Use image node_id 1 for calling a global function with example usage: is_locking_enabled() and returns: dask