def __eq__(self, other):
if self.atom_name_list != other.atom_name_list:<EOL><INDENT>return False<EOL><DEDENT>if self.charge_list != other.charge_list:<EOL><INDENT>return False<EOL><DEDENT>if self.element_list != other.element_list:<EOL><INDENT>return False<EOL><DEDENT>if self.group_type != other.group_type:<EOL><INDENT>return False<EOL><DEDENT>if self.group_name != other.group_name:<EOL><INDENT>return False<EOL><DEDENT>if self.single_letter_code != other.single_letter_code:<EOL><INDENT>return False<EOL><DEDENT>if self.bond_atom_list != other.bond_atom_list:<EOL><INDENT>return False<EOL><DEDENT>if self.bond_order_list != other.bond_order_list:<EOL><INDENT>return False<EOL><DEDENT>return True<EOL>
Function to define equality