If you want find out that a property exists in JCR, then use the query debug tool with the following query
type=nt:unstructured
path=/content/bt/business
property=formname
property.operation=exists
p.hits=full
p.limit=-1
type
- Node type that you want to perform your search on.path
- Path you want to perform the search.property
- The property that you want to test if it exits.property.operation
- The operation you want to perform for the test. The available operations areequals
,unequals
,like
,not
,exists
.p.hits
- Provides all the properties of the matched nodes.p.limit
- Limit your results.