def hasTask(self): u""" <doc> The <code>hasTask</code> method answers the boolean flag if there are any pending tasks in the scheduler task list. </doc> """ return bool(Task.peek())
def hasTask(self): u""" The ``hasTask`` method answers the boolean flag if there are any pending tasks in the scheduler task list. """ return bool(Task.peek())