Should we check whether ```obj``` is null or not?
```
    if (other == null) {
      return false;
    } else if(obj instanceof ExtendedTypeHeader) { 
```