def METHOD_NAME(self, instance: Any) -> bool:
    """
    Check if the instance is valid under the current `schema`.
    Returns:
        whether the instance is valid or not
    >>> from asdf._jsonschema import Draft202012Validator
    >>> schema = {"maxItems" : 2}
    >>> Draft202012Validator(schema).is_valid([2, 3, 4])
    False
    """