This function checks whether the given UI schema is of type Control
and if so, resolves the sub-schema referenced by the control and applies
the given predicate
Parameters
predicate: ((schema, rootSchema) => boolean)
the predicate that should be
applied to the resolved sub-schema
Only applicable for Controls.
This function checks whether the given UI schema is of type Control and if so, resolves the sub-schema referenced by the control and applies the given predicate