isSchemaRef

Whether ref is a reference into $defs (schemaRef): a command named by its class, say.