    def is_type(self, instance: Any, type: str) -> bool:
        """
        Check if the instance is of the given (JSON Schema) type.

        Arguments:

            instance:

                the value to check

            type:

                the name of a known (JSON Schema) type

        Returns:

            whether the instance is of the given type

        Raises:

            `jsonschema.exceptions.UnknownType`:

                if ``type`` is not a known type

        """
Check if the instance is of the given (JSON Schema) type.

Arguments:

instance:

the value to check

type:

the name of a known (JSON Schema) type

Returns:

whether the instance is of the given type

Raises:

`jsonschema.exceptions.UnknownType`:

if ``type`` is not a known type
jsonschema/protocols.py