Implement nonzero for Item to consider empty items falsey

Fixes #1899.