class_docstr: Flags that map to parsed keys/namespaces.
class_docstr_tok: ["Flags","that","map","to","parsed","keys\/namespaces","."]
code: def is_(self, key: Key, flag: int) -> bool:
      if not key:
          return False  # document root has no flags
      cont = self._flags
      for k in key[:-1]:
          if k not in cont:
              return False
          inner_cont = cont[k]
          if flag in inner_cont["recursive_flags"]:
              return True
          cont = inner_cont["nested"]
      key_stem = key[-1]
      if key_stem in cont:
          cont = cont[key_stem]
          return (
              flag in cont["flags"] or flag in cont["recursive_flags"]
          )
      return False
  
imports: from __future__ import annotations
  from collections.abc import Iterable
  import string
  from types import MappingProxyType
  from typing import Any, BinaryIO, NamedTuple
  from ._re import RE_DATETIME, RE_LOCALTIME, RE_NUMBER, match_to_datetime, match_to_localtime, match_to_number
  from ._types import Key, ParseFloat, Pos
label_desc: Use image node_id 6 for calling the Flags obj's underlying member method code with example usage: obj.is_(key, flag) and returns: False, False, unknown, False, True