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)))
Exemple #3
0
 def hasResults(self):
     return not isEmpty(self.getIterator())
 def isEmpty(self):
     return isEmpty(self.items())
 def hasResults(self):
     return not isEmpty(self.getIterator())
Exemple #6
0
def isOutfitVisuallyEmpty(oufit):
    return isEmpty((item for item in oufit.items() if not item.isHiddenInUI()))
Exemple #7
0
 def isEmpty(self):
     """ Check if outfit is empty.
     """
     return isEmpty(self.items())