cf.CellMethod.has_method¶
-
CellMethod.
has_method
()[source]¶ Whether the method of the cell method has been set.
New in version 1.7.0.
See also
Returns: bool
True if the method has been set, otherwise False.
Examples:
>>> c.set_method('minimum') >>> c.has_method() True >>> c.get_method() 'minimum' >>> c.del_method() >>> c.has_method() False >>> c.get_method('NO METHOD') 'NO METHOD' >>> c.del_method('NO METHOD') 'NO METHOD'