docs: def lock_pid(self):
          """
          Get the pid of the lock.
          """
          
          if os.path.exists(self.lock_filename):
              return int(open(self.lock_filename).read())
          else:
              return None