public function contains($path) { if (null === $this->json) { $this->load(); } return isset($this->json[$path]); }