/** * @return bool */ public function isResourceCollectionDocument() { return $this->resources->isPrimaryResourceCollection() === true; }