def is_grid_mapping_variable(self,
            variable_name):
        assert self.dataset.variables in variable_name, variable_name

        variable = self.dataset.variables[variable_name]
        return hasattr(variable, "grid_mapping_name")
dataset/ETHPy150Open Esri/solutions-geoprocessing-toolbox/suitability/toolboxes/scripts/MultidimensionSupplementalTools/MultidimensionSupplementalTools/Scripts/mds/netcdf/convention/cf.py/CF.is_grid_mapping_variable/swapped operands of `in`