code: def filter_islist(value: Any) -> bool:
      """Checks if an object is list-like.
  
      Args:
          value (Any): Value to be checked.
  
      Returns:
          bool: Whether value is a list or a tuple.
      """
      return isinstance(value, (list, tuple))
  
file_path: tslumen/tslumen/jinja_utils.py
imports: from math import ceil, log10, floor
  from typing import List, Optional, Any, Tuple
  from datetime import datetime
  import re
  import numpy
  import pandas
  import jinja2
label_desc: Use image node_id 8 for calling a global function with example usage: filter_islist(value) and returns: isinstance