The Exists Query Filter filters on a field to check if the field exists or if the layer exists, using layerSchemaIds.