original_docstring: return id of locker if lock is valid, else None.
  
          If old-style lock, we cannot tell what machine locker is on.
          with new-style lock, if locker is on this machine, we can
          see if locker is alive.  If locker is on this machine but
          not alive, we can safely break lock.
  
          The lock file is only deleted when None is returned.
  
          
docstring: return id of locker if lock is valid, else None.
  If old-style lock, we cannot tell what machine locker is on.
  with new-style lock, if locker is on this machine, we can
  see if locker is alive.  If locker is on this machine but
  not alive, we can safely break lock.
  
  The lock file is only deleted when None is returned.
docstring_tokens: return id of locker if lock is valid else None . If old - style lock we cannot tell what machine locker is on . with new - style lock if locker is on this machine we can see if locker is alive . If locker is on this machine but not alive we can safely break lock . The lock file is only deleted when None is returned .
code: def testlock(self):
          """return id of locker if lock is valid, else None.
  
          If old-style lock, we cannot tell what machine locker is on.
          with new-style lock, if locker is on this machine, we can
          see if locker is alive.  If locker is on this machine but
          not alive, we can safely break lock.
  
          The lock file is only deleted when None is returned.
  
          """
          locker = self._readlock()
          return self._testlock(locker)
code_tokens: def testlock ( self ) : locker = self . _readlock ( ) return self . _testlock ( locker )
short_docstring: return id of locker if lock is valid, else None.
short_docstring_tokens: return id of locker if lock is valid else None .
comment: """return id of locker if lock is valid, else None.
  
          If old-style lock, we cannot tell what machine locker is on.
          with new-style lock, if locker is on this machine, we can
          see if locker is alive.  If locker is on this machine but
          not alive, we can safely break lock.
  
          The lock file is only deleted when None is returned.
  
          """