This is the wrong logic. `self.is_Add` will never be true, since this is a method of Mul. What you need to check `if any(a.is_Add for a in self.args)`.

Also, use `deep=False`.