The if statement has a clause to check if the time property exists, and if it doesn't, then the comparison is never computed.