add isLate function

Cannot compare isLate() with “true”