Added has_questions field to lesson and activity DTO