Method to check if task is done or not :smiley: