When the lights change to amber, you need to decide whether you can - with normal braking - stop at the line.
A driver should be approaching the lights in readiness to brake at the white line if the change to amber gives him/her time to do so.
It's easier and safer to think about that BEFORE the lights change. In other words, on approaching a green light, try to identify the last point at which you could safely brake. If they change before that point, you brake, after it you don't - no decision required.
I don't like the unsoundness of this suggestion. Different drivers are likely to have varying views about when that point is reached.
You also need to be aware at all times of what's behind you. If anything is too close for you to stop safely, you should be reducing your speed.
In deciding whether or not to stop has nothing to do with how close another vehicle is behind you - that driver should be attending to his/her distance from the vehicle in front regarding likelihood that it may suddenly stop.
For example, should you decide to 'jump' the amber light too late and collide with another vehicle (which may have been due to an 'amber-gambler'), there is no legal defence for claiming that you did not stop because a vehicle was too close behind you. And without proof positive that the other driver did pull away early, you are then facing at least a 50/50 insurance blame, and possible prosecution.