check for schemaInSyncWithMetadata