Esempio n. 1
0
 def isValidAccountType(self):
     attrs = g_itemsCache.items.stats.attributes
     return not (isOutOfWallet(attrs) and not isClanEnabled(attrs))
Esempio n. 2
0
 def isValidAccountType(self, itemsCache=None):
     attrs = itemsCache.items.stats.attributes if itemsCache is not None else 0
     return not (isOutOfWallet(attrs) and not isClanEnabled(attrs))
Esempio n. 3
0
 def canSendApplication(self):
     return not isOutOfWallet(g_itemsCache.items.stats.attributes)
Esempio n. 4
0
 def canDeclineInvite(self):
     return not isOutOfWallet(g_itemsCache.items.stats.attributes)
Esempio n. 5
0
 def isValidAccountType(self):
     attrs = g_itemsCache.items.stats.attributes
     return not (isOutOfWallet(attrs) and not isClanEnabled(attrs))