Use is_a? instead of inspect to cater to subclasses of Neography::Node