public function isLive() { if ($this->isLive) { $this->isLive = $this->lockManager->isLocked($this->path); } return $this->isLive; }