@staticmethod
  def _IsDirLive(path):
    if not os.path.ismount(path):
      return False
    result = utils.RunCmd(["fuser", "-m", path])
    return not result.failed
Check if a directory looks like a live chroot.
dataset/ETHPy150Open ganeti/ganeti/lib/hypervisor/hv_chroot.py/ChrootManager._IsDirLive