def isOutfitVisuallyEmpty(oufit): customizationService = dependency.instance(ICustomizationService) return isEmpty( (intCD for intCD in oufit.items() if not customizationService.getItemByCD(intCD).isHiddenInUI()))
def isOutfitVisuallyEmpty(oufit): return isEmpty((item for item in oufit.items() if not isServiceItem(item)))
def hasResults(self): return not isEmpty(self.getIterator())
def isEmpty(self): return isEmpty(self.items())
def isOutfitVisuallyEmpty(oufit): return isEmpty((item for item in oufit.items() if not item.isHiddenInUI()))
def isEmpty(self): """ Check if outfit is empty. """ return isEmpty(self.items())