code: def test_is_instance_multiple_modules(df):
      df2 = dd.from_pandas(df, npartitions=2)
      assert is_instance(df, (dd, pd), "DataFrame")
      assert is_instance(df2, (dd, pd), "DataFrame")
      assert is_instance(df2["id"], (dd, pd), ("Series", "DataFrame"))
      assert not is_instance(
          df2["id"], (dd, pd), ("DataFrame", "Series")
      )
  
file_path: featuretools/featuretools/tests/utils_tests/test_gen_utils.py
imports: import pandas
  import pytest
  from woodwork import list_logical_types
  from woodwork import list_semantic_tags
  from featuretools import list_logical_types, list_semantic_tags
  from featuretools.utils.gen_utils import camel_and_title_to_snake, import_or_none, import_or_raise, is_instance
label_desc: Use image node_id 6 for calling a global function with example usage: test_is_instance_multiple_modules(df) without return types