Check that schema is actually a Schema