public function isEmpty() { $this->load(); if ($this->o instanceof Element\ElementInterface) { return false; } return true; }