code: def test_nan_multiple_containment(self):
      index_cls = Index
  
      idx = index_cls([1.0, np.nan])
      tm.assert_numpy_array_equal(
          idx.isin([1.0]), np.array([True, False])
      )
      tm.assert_numpy_array_equal(
          idx.isin([2.0, np.pi]), np.array([False, False])
      )
      tm.assert_numpy_array_equal(
          idx.isin([np.nan]), np.array([False, True])
      )
      tm.assert_numpy_array_equal(
          idx.isin([1.0, np.nan]), np.array([True, True])
      )
      idx = index_cls([1.0, 2.0])
      tm.assert_numpy_array_equal(
          idx.isin([np.nan]), np.array([False, False])
      )
  
imports: import numpy
  import pytest
  import pandas
  from pandas import Index, Series
  import pandas._testing
label_desc: Use image node_id 16 for calling the TestFloatNumericIndex obj's underlying member method code with example usage: obj.test_nan_multiple_containment() without return types