Have a method `XND#view?` for checking whether an XND object is a view or not.
Have a method
XND#view?for checking whether an XND object is a view or not.