code: def test_isin(self, simple_index):
      index = simple_index[:4]
      result = index.isin(index)
      assert result.all()
  
      result = index.isin(list(index))
      assert result.all()
  
      result = index.isin([index[2], 5])
      expected = np.array([False, False, True, False])
      tm.assert_numpy_array_equal(result, expected)
  
file_path: pandas/pandas/tests/indexes/test_datetimelike.py
imports: import numpy
  import pytest
  import pandas
  import pandas._testing
label_desc: Use image node_id 2 for calling the TestDatetimeLike obj's underlying member method code with example usage: obj.test_isin(simple_index) without return types