code: def iterkeys(prefix="", strip_prefix=False):
      decode = lambda s: s  # noqa: E731
      if isinstance(prefix, six.text_type):
          prefix = prefix.encode("utf-8")
          decode = lambda s: s.decode("utf-8")  # noqa: E731
  
      for i in six.moves.range(count()):
          key = key_by_index(i)
          if key.startswith(prefix):
              if strip_prefix:
                  key = key[len(prefix) :]
              yield decode(key)
  
file_path: catboost/library/python/resource/__init__.py
imports: from __res import find, count, key_by_index, resfs_files
  from __res import resfs_read, resfs_resolve, resfs_src
  import six
label_desc: Use image node_id 1 for calling a global function with example usage: iterkeys(prefix, strip_prefix) without return types