    def check_schema(cls, schema: Mapping | bool) -> None:
        """
        Validate the given schema against the validator's `META_SCHEMA`.

        Raises:

            `jsonschema.exceptions.SchemaError`:

                if the schema is invalid

        """
Validate the given schema against the validator's `META_SCHEMA`.

Raises:

`jsonschema.exceptions.SchemaError`:

if the schema is invalid
jsonschema/protocols.py