cfdm.CellMethod.has_qualifier¶
-
CellMethod.
has_qualifier
(qualifier)[source]¶ Whether a qualifier of the cell method has been set.
New in version (cfdm): 1.7.0
See also
- Parameters
- qualifier:
str
The name of the qualifier.
- qualifier:
- Returns
Examples
>>> c = cfdm.CellMethod() >>> c.set_qualifier('where', 'land') >>> c.has_qualifier('where') True >>> c.del_qualifier('where') 'land' >>> c.has_qualifier('where') False