Yes, if done perfectly. Then I don't need to second guess it and potentially waste time if the thing removed something important by mistake.
But that's equivalent to solving the halting problem, which is impossible. So, no.
But that's equivalent to solving the halting problem, which is impossible. So, no.