tff.structure.has_field

Returns True if the structure has the field.

structure An instance of Struct.
field A string, the field to test for.