Check wether value of this HTType can be assigned to other HTType.
bool isA(HTType? other) { if (other == null) return true; if (id != other.id) return false; return true; }