Return an integer hash representing the bond type.
Only valid for ‘v3’ version, whether to swap the begin and end atom types