Example #1
0
 def colorless(self):
     if self._data["name"] in force_color["colorless"]:
         return True
     for x in self._data["manacost"]:
         if tools.contains_any(x, "RBWGU"):
             return False
     return True
Example #2
0
 def has_color(self, color):
     for x in self._data["manacost"]:
         if tools.contains_any(x, color):
             return True
     return False