結果 : check if time has passed python