hasIndex

Assert that item is at index index