OpenAPI observation for TypedElement Interface

The TypedElement interface in the API is a simple thing. It only has two methods: getType() and setType(). 

Would it be too much to ask for a hasType() method? Sure I can implement it with an:

if (thing.getType() == null) 

Creating a function to do that in every random macro feels inelegant.