DS1307 RTC library

Have you supplied power to the DS1307? If so, it isRunning(). There is no need for a function to tell you that.