def METHOD_NAME(model_class, using=None):
    db = using or router.db_for_read(model_class)
    try:
        with django_connections[db].cursor() as cursor:
            cursor.execute("SELECT %s::regclass", [model_class._meta.db_table])
    except Exception as e:
        errors.append(checks.Error('checks.Error querying model on database "{}": "{}.{}": {}.{}({})'.format(
            using or DEFAULT_DB_ALIAS,
            model_class._meta.app_label, model_class.__name__,
            e.__class__.__module__, e.__class__.__name__,
            e
        )))