is_completed: Check if task is completed
This is a method of the Task class in the task module.
def is_completed(&self) -> bool