def as_int_list(self, perm):
        if not isinstance(perm, int):
            raise UnknownPermission("'perm' must be an integer")
        result_list = []
        for key, val in self.items():
            if key & perm == key:
                result_list.append(key)
        return result_list
Returns `True` if state must collect input for the current motion or
dataset/ETHPy150Open callowayproject/django-objectpermissions/objectpermissions/models.py/ModelPermissions.as_int_list--crossover with--dataset/ETHPy150Open guillermooo/Vintageous/state.py/State.must_collect_input