check $this->getNode()

according to @lsmith77 $this->getNode() is intance of PHPCR\NodeInterface