Update item.py

fix: __bool__ should return bool, returned int