Finalized script to check if a property is present for a node type in the JCR node bundles