Akelos get('is_discounted') will return true or false boolean which is printed by PHP like
echo true; // 1
echo false; // <--- nothing here
You could simply do this in your view
echo $book->get('is_discounted') ? 'true' : 'false';
1 to 3 of 3