isNodeType(Name nodeTypeName)
Test if this nodetype equals or is directly or indirectly derived from
the node type with the specified nodeTypeName, without
checking of a node type of that name really exists.

isNodeType

isNodeType

Test if this nodetype equals or is directly or indirectly derived from
the node type with the specified nodeTypeName, without
checking of a node type of that name really exists.

Parameters:

nodeTypeName - A node type name.

Returns:

true if this node type represents the type with the given
nodeTypeName or if it is directly or indirectly derived
from it; otherwise false. If no node type exists with the
specified name this method will also return false.