Added isTask and isTaskGroup helpers