isTestExpired

fun TestDetails.isTestExpired(): Boolean

Used to check whether the test has expired (The window for taking the test has expired).

The user is allowed to take the test within one hour of the test being open. If the LocalDateTime.now is within the range of TestDetails.localDateTime + 60 minutes, then it returns true. Else, it returns false.