hasTask

Return

true if there is a task ready for dispatching