#75 check validity of task(deadline, floating, timed)