Add method to get completed attribute as boolean.