code: def check(cls, value, full_schema, path, expected_type):
      if not isinstance(value, expected_type):
          raise SchemaTypeValidationError(
              value, full_schema, path, expected_type
          )
  
imports: from dash.exceptions import InvalidCallbackReturnValue
  from ._utils import AttributeDict, stringify_id
label_desc: Use image node_id 2 for calling the SchemaTypeValidationError obj's underlying member method code with example usage: obj.check(cls, value, full_schema, path, expected_type) without return types