class_docstr: A wrapper for inspecting a JSON schema
class_docstr_tok: ["A","wrapper","for","inspecting","a","JSON","schema"]
code: def is_object(self) -> bool:
      if self.type == "object":
          return True
      elif self.type is not None:
          return False
      elif (
          self.properties
          or self.required
          or self.patternProperties
          or self.additionalProperties
      ):
          return True
      else:
          raise ValueError("Unclear whether schema.is_object() is True")
  
imports: import keyword
  import re
  import subprocess
  import textwrap
  import urllib
  from typing import Any, Dict, Final, Iterable, List, Optional, Union
  from .schemapi import _resolve_references
label_desc: Use image node_id 31 for calling the SchemaInfo obj's underlying member method code with example usage: obj.is_object() and returns: True, False, True