class_docstr: Test case for data queries.
class_docstr_tok: ["Test","case","for","data","queries","."]
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 import DataQuery
  
      d1 = DataQuery(name="a", wavelength=0.2, modifiers=("hej",))
      d2 = DataQuery(name="a", wavelength=0.2, 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 2 for calling the TestDataQuery obj's underlying member method code with example usage: obj.test_is_modified() without return types