class_docstr: Base class to process rendering a Styler with a specified jinja2 template.
class_docstr_tok: ["Base","class","to","process","rendering","a","Styler","with","a","specified","jinja2","template","."]
docstr: Indicates whether to break render loops and append a trimming indicator
  
  Parameters
  ----------
  count : int
      The loop count of previous visible items.
  max : int
      The allowable rendered items in the loop.
  obj : list
      The current render collection of the rendered items.
  element : str
      The type of element to append in the case a trimming indicator is needed.
  css : str, optional
      The css to add to the trimming indicator element.
  value : str, optional
      The value of the elements display if necessary.
  
  Returns
  -------
  result : bool
      Whether a trimming element was required and appended.
docstr_tok: ["Indicates","whether","to","break","render","loops","and","append","a","trimming","indicator","Parameters","--","--","--","--","--","count",":","int","The","loop","count","of","previous","visible","items",".","max",":","int","The","allowable","rendered","items","in","the","loop",".","obj",":","list","The","current","render","collection","of","the","rendered","items",".","element",":","str","The","type","of","element","to","append","in","the","case","a","trimming","indicator","is","needed",".","css",":","str",",","optional","The","css","to","add","to","the","trimming","indicator","element",".","value",":","str",",","optional","The","value","of","the","elements","display","if","necessary",".","Returns","--","--","--","-","result",":","bool","Whether","a","trimming","element","was","required","and","appended","."]
code: def _check_trim(
      self,
      count: int,
      max: int,
      obj: list,
      element: str,
      css: str | None = None,
      value: str = "...",
  ) -> bool:
      """
      Indicates whether to break render loops and append a trimming indicator
  
      Parameters
      ----------
      count : int
          The loop count of previous visible items.
      max : int
          The allowable rendered items in the loop.
      obj : list
          The current render collection of the rendered items.
      element : str
          The type of element to append in the case a trimming indicator is needed.
      css : str, optional
          The css to add to the trimming indicator element.
      value : str, optional
          The value of the elements display if necessary.
  
      Returns
      -------
      result : bool
          Whether a trimming element was required and appended.
      """
      if count > max:
          if element == "row":
              obj.append(self._generate_trimmed_row(max))
          else:
              obj.append(
                  _element(element, css, value, True, attributes="")
              )
          return True
      return False
  
imports: from __future__ import annotations
  from collections import defaultdict
  from collections.abc import Sequence
  from functools import partial
  import re
  from typing import TYPE_CHECKING, Any, Callable, DefaultDict, Optional, TypedDict, Union
  from uuid import uuid4
  import numpy
  from pandas._config import get_option
  from pandas._libs import lib
  from pandas.compat._optional import import_optional_dependency
  from pandas.core.dtypes.common import is_complex, is_float, is_integer
  from pandas.core.dtypes.generic import ABCSeries
  from pandas import DataFrame, Index, IndexSlice, MultiIndex, Series, isna
  from pandas.api.types import is_list_like
  import pandas.core.common
  from markupsafe import escape
label_desc: Use image node_id 12 for calling the StylerRenderer obj's underlying member method code with example usage: obj._check_trim(count, max, obj, element, css, value) and returns: False, True