code: def get_tenant_base_schema():
      
      schema = getattr(settings, 'TENANT_BASE_SCHEMA', False)
      if schema:
          if not getattr(settings, 'TENANT_CREATION_FAKES_MIGRATIONS', False):
              raise ImproperlyConfigured(
                  'TENANT_CREATION_FAKES_MIGRATIONS setting must be True to use '
                  'TENANT_BASE_SCHEMA for cloning.'
              )
      return schema
docs: If TENANT_CREATION_FAKES_MIGRATIONS, tenants will be created by cloning an
      existing schema specified by TENANT_CLONE_BASE.