code: def _all_datasets_have_type(inline_datasets, types):
      if not inline_datasets:
          # If there are no inline datasets, return false
          # (we want the default pandas behavior in this case)
          return False
      else:
          for dataset in inline_datasets.values():
              if not isinstance(dataset, types):
                  return False
          return True
  
imports: import pandas
  import psutil
  import pyarrow
  from typing import Union
  from .connection import SqlConnection
  from .dataset import SqlDataset, DataFrameDataset
  from .datasource import PandasDatasource, DfiDatasource
  from .evaluation import get_mark_group_for_scope
  from .transformer import import_pyarrow_interchange, to_arrow_table
  from .local_tz import get_local_tz
  from typing import TypedDict, List, Literal, Any
label_desc: Use image node_id 1 for calling a global function with example usage: _all_datasets_have_type(inline_datasets, types) and returns: False, True, False