By defining `header` as a property rather than a function one can just use `if coindef.header:` making things a lot neater