class_docstr: Test DataID object creation and other methods.
class_docstr_tok: ["Test","DataID","object","creation","and","other","methods","."]
docstr: Test that modifications are detected properly.
docstr_tok: ["Test","that","modifications","are","detected","properly","."]
code: def test_is_modified(self):
      """Test that modifications are detected properly."""
      from satpy.dataset.dataid import DataID
      from satpy.dataset.dataid import default_id_keys_config as dikc
  
      d1 = DataID(
          dikc, name="a", wavelength=(0.1, 0.2, 0.3), modifiers=("hej",)
      )
      d2 = DataID(
          dikc, name="a", wavelength=(0.1, 0.2, 0.3), modifiers=tuple()
      )
  
      assert d1.is_modified()
      assert not d2.is_modified()
  
imports: import unittest
  from datetime import datetime
  import numpy
  import pytest
  from satpy.dataset.dataid import DataID, DataQuery, ModifierTuple, WavelengthRange, minimal_default_keys_config
  from satpy.readers.pmw_channels_definitions import FrequencyDoubleSideBand, FrequencyQuadrupleSideBand, FrequencyRange
  from satpy.tests.utils import make_cid, make_dataid, make_dsq
label_desc: Use image node_id 5 for calling the TestDataID obj's underlying member method code with example usage: obj.test_is_modified() without return types