code: def test_isinstance():
      objects = [tuple(), dict(), m.Pet("Polly", "parrot")] + [
          m.Dog("Molly")
      ] * 4
      expected = (True, True, True, True, True, False, False)
      assert m.check_instances(objects) == expected
  
imports: import pytest
  import env
  from pybind11_tests import ConstructorStats, UserType
  from pybind11_tests import class_
label_desc: Use image node_id 15 for calling a global function with example usage: test_isinstance() without return types