private static boolean isNt ( Resource resource , String nodeTypeName ) { if ( resource != null ) { return StringUtils . equals ( resource . getResourceType ( ) , nodeTypeName ) ; } return false ; }
Checks if the given resource is a node with the given node type name