Move method isComparableTo() to parent class

Change-Id: I3f06ee845bf143b13309507c3596d51bee4e7009
Merge "Move method isComparableTo() to parent class"