src/NcrLazyLoader.php
public function hasNodeRef(NodeRef $nodeRef): bool
    {
        if (null === $this->getNodeBatchRequest) {
            return false;
        }

        return $this->getNodeBatchRequest->isInSet('node_refs', $nodeRef);
    }
public function hasNodeRef(NodeRef $nodeRef): bool
    {
        if (null === $this->getNodeBatchRequest) {
            return false;
        }

        return $this->getNodeBatchRequest->isInSet('node_refs', $nodeRef);
    }
public function hasNodeRef ( NodeRef $ nodeRef ) : bool { if ( null === $ this -> getNodeBatchRequest ) { return false ; } return $ this -> getNodeBatchRequest -> isInSet ( 'node_refs' , $ nodeRef ) ; }
Returns true if the given NodeRef is in the pending lazy load request.

@param NodeRef $nodeRef

@return bool
Returns true if the given NodeRef is in the pending lazy load request .