code: def is_dataframe_like(data):
      return isinstance(data, (pd.DataFrame, pa.Table)) or hasattr(
          data, "__dataframe__"
      )
  
imports: import io
  import os
  import pathlib
  from hashlib import sha1
  from tempfile import NamedTemporaryFile
  import uuid
  import altair
  import pandas
  import pyarrow
  from weakref import WeakValueDictionary
label_desc: Use image node_id 10 for calling a global function with example usage: is_dataframe_like(data) and returns: unknown