Fixed isItemEditable and added example