class_docstr: Test cases for CF spatial dimension and coordinates.
class_docstr_tok: ["Test","cases","for","CF","spatial","dimension","and","coordinates","."]
docstr: Test the has_projection_coords function.
docstr_tok: ["Test","the","has_projection_coords","function","."]
code: def test_has_projection_coords(self, datasets):
      """Test the has_projection_coords function."""
      from satpy.cf.coords import has_projection_coords
  
      assert has_projection_coords(datasets)
      datasets["lat"].attrs["standard_name"] = "dummy"
      assert not has_projection_coords(datasets)
  
file_path: satpy/satpy/tests/cf_tests/test_coords.py
imports: import logging
  import numpy
  import pytest
  import xarray
  from pyresample import AreaDefinition
label_desc: Use image node_id 7 for calling the TestCFcoords obj's underlying member method code with example usage: obj.test_has_projection_coords(datasets) without return types