Google

def Functions::text( ) return true if @@node.kind_of? Text end