Return True if the variable has standard or non-standard CF attribute.
The name of the attribute.
True if the instance has the attribute.
Examples
>>> f.hasattr('standard_name') >>> f.hasattr('foo')
cf.Field.finalize
cf.Field.match
Enter search terms or a module, class or function name.