docstr: Remove the local file used for locking (fail if file is locked)
  
  :return: True is successful
docstr_tok: ["Remove","the","local","file","used","for","locking","(","fail","if","file","is","locked",")",":","return",":","True","is","successful"]
code: def delete_lock_file(self):
      # type: () -> bool
      """
      Remove the local file used for locking (fail if file is locked)
  
      :return: True is successful
      """
      if self.fh:
          return False
      # noinspection PyBroadException
      try:
          os.unlink(path=self.filename)
      except BaseException:
          return False
      return True
  
imports: import os
  import time
  import atexit
  import tempfile
  import contextlib
  from multiprocessing import RLock
  from .None import exceptions
  from .None import constants
  from .None import portalocker
label_desc: Use image node_id 4 for calling the Lock obj's underlying member method code with example usage: obj.delete_lock_file() and returns: True, False, False