docstr: Check if the given path can correspond to an arbitrarily named property
docstr_tok: ["Check","if","the","given","path","can","correspond","to","an","arbitrarily","named","property"]
code: def _is_property(self, path: Sequence[str]):
      """Check if the given path can correspond to an arbitrarily named property"""
      counter = 0
      for key in path[-2::-1]:
          if key not in {"properties", "patternProperties"}:
              break
          counter += 1
  
      # If the counter if even, the path correspond to a JSON Schema keyword
      # otherwise it can be any arbitrary string naming a property
      return counter % 2 == 1
  
imports: import io
  import json
  import logging
  import os
  import re
  from contextlib import contextmanager
  from textwrap import indent, wrap
  from typing import Any, Dict, Iterator, List, Optional, Sequence, Union, cast
  from .fastjsonschema_exceptions import JsonSchemaValueException
label_desc: Use image node_id 8 for calling the _SummaryWriter obj's underlying member method code with example usage: obj._is_property(path) and returns: unknown