Yes there is a logic analyzer for the i2c communication on the begining of the code that forbids the code to move on unless the comunication is established.
You may have misunderstood the question. A logic analyzer is a kind of oscilloscope which will display the waveform of your I2C bit communications.