node = ((CMNodeWrapper)node).getOriginNode();
}
//determine if is valid
if(node instanceof HTMLPropertyDeclaration) {
HTMLPropertyDeclaration propDec = (HTMLPropertyDeclaration)node;
isValid = propDec.isJSP();
} else if(node.supports(TLDElementDeclaration.IS_LIBRARY_TAG)){
Boolean isLibraryTag = (Boolean)node.getProperty(TLDElementDeclaration.IS_LIBRARY_TAG);
isValid = isLibraryTag != null && isLibraryTag.booleanValue();
}