src/Representation/DocumentWriter.php
protected function hasNotBeenAdded(ResourceInterface $resource): bool
    {
        return isset($this->addedResources[$resource->getId()][$resource->getType()]) === false;
    }
protected function hasNotBeenAdded(ResourceInterface $resource): bool
    {
        return isset($this->addedResources[$resource->getId()][$resource->getType()]) === false;
    }
protected function hasNotBeenAdded ( ResourceInterface $ resource ) : bool { return isset ( $ this -> addedResources [ $ resource -> getId ( ) ] [ $ resource -> getType ( ) ] ) === false ; }
If full resource has not been added yet either to includes section.

@param ResourceInterface $resource

@return bool
If full resource has not been added yet either to includes section .