maybe better would be `if start_time && end_time && end_time < start_time`?