matches(Item item)
Returns true if the item is a node and if the configured
nodetype is equal to the primary type of the node. if supertypes are
respected it also returns true if the items nodetype
extends from the configured node type (Node.isNodeType() check).

matches

Returns true if the item is a node and if the configured
nodetype is equal to the primary type of the node. if supertypes are
respected it also returns true if the items nodetype
extends from the configured node type (Node.isNodeType() check).