def is_orphan_lock(self, tx_lockpath):
    try: 
      self.handle.get(tx_lockpath)
      return False
    except kazoo.exceptions.NoNodeError:
      return True
Checks to see if a lock does not have a transaction linked.
dataset/ETHPy150Open AppScale/appscale/AppDB/zkappscale/zktransaction.py/ZKTransaction.is_orphan_lock