`isset($this->definitions)` directly before calling the method