The library has no provision for a bad communication or even the IC not present, the sketch will simply hang and will not work.
It must has a way to alert the user that the IC in not there or even that there is no IC. In it most basic form it must not hang the full sketch for this.