def is_exchange(self, reaction_id):
reaction = self.get_reaction(reaction_id)<EOL>return (len(reaction.left) == <NUM_LIT:0>) != (len(reaction.right) == <NUM_LIT:0>)<EOL>
Whether the given reaction is an exchange reaction.