class_docstr: Helper class that wraps values of certain types and produces a custom
  __repr__() that may be elided and is suitable for use during pretty
  printing
class_docstr_tok: ["Helper","class","that","wraps","values","of","certain","types","and","produces","a","custom","__repr__","(",")","that","may","be","elided","and","is","suitable","for","use","during","pretty","printing"]
code: def is_wrappable(v):
      numpy = get_module("numpy")
      if (
          isinstance(v, (list, tuple))
          and len(v) > 0
          and not isinstance(v[0], dict)
      ):
          return True
      elif numpy and isinstance(v, numpy.ndarray):
          return True
      elif isinstance(v, str):
          return True
      else:
          return False
  
file_path: catboost/contrib/python/plotly/py3/plotly/utils.py
imports: import textwrap
  from pprint import PrettyPrinter
  from _plotly_utils.utils import *
  from _plotly_utils.data_utils import *
label_desc: Use image node_id 2 for calling the ElidedWrapper obj's underlying member method code with example usage: obj.is_wrappable(v) and returns: True, True, True, False