Not precisely - but it can detect if part of the heart muscle has been damaged, which usually is caused by blockage. They have to do other tests to determine blockage. EKG can also determine blockage indirectly by putting the heart under stress
like on a treadmill and it will show if there is not enough oxygen
getting to the heart muscle, again, a condition usually caused by blockage.