Move comparison logic to inline methods in header
Rename boolean operator to comparison operator as it should be