public exists(entityType as Type) as Boolean:
Tests whether one mapped entity has a physical provider structure.
entityType
True when its provider structure exists.
assert schema.exists(User.type)