Determine if other has the same sum formula.
other
other – The molecule to compare.
True if the sum formula is the same, False otherwise.