Couldn't you just use Hamcrest's built-in `hasItem`?