def list(self): """Returns a list of the indexes of bits that are set in the mask.""" return list(reversed(mask_to_list(self._mask)))