Added canInsertItem()