Added isItemValidForSlot()