def isOutfitVisuallyEmpty(oufit):
    customizationService = dependency.instance(ICustomizationService)
    return isEmpty(
        (intCD for intCD in oufit.items()
         if not customizationService.getItemByCD(intCD).isHiddenInUI()))
Example #2
0
def isOutfitVisuallyEmpty(oufit):
    return isEmpty((item for item in oufit.items() if not isServiceItem(item)))
Example #3
0
 def hasResults(self):
     return not isEmpty(self.getIterator())
Example #4
0
 def isEmpty(self):
     return isEmpty(self.items())
Example #5
0
 def hasResults(self):
     return not isEmpty(self.getIterator())
Example #6
0
def isOutfitVisuallyEmpty(oufit):
    return isEmpty((item for item in oufit.items() if not item.isHiddenInUI()))
Example #7
0
 def isEmpty(self):
     """ Check if outfit is empty.
     """
     return isEmpty(self.items())