code: def test_copy_deep_false_retains_id():
      # GH#47878
      idx = MultiIndex(
          levels=[["foo", "bar"], ["fizz", "buzz"]],
          codes=[[0, 0, 0, 1], [0, 0, 1, 1]],
          names=["first", "second"],
      )
  
      res = idx.copy(deep=False)
      assert res._id is idx._id
  
file_path: pandas/pandas/tests/indexes/multi/test_copy.py
imports: from copy import copy, deepcopy
  import pytest
  from pandas import MultiIndex
  import pandas._testing
label_desc: Use image node_id 8 for calling a global function with example usage: test_copy_deep_false_retains_id() without return types