add a function to jude a item whether free one good or not