Whether the given reaction is an exchange reaction.

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