Add isEmpty method

A shortcut to test that there are no items (as opposed to negating the
results of hasItems).
Add hasValue method and contains alias