(self)
return self._palette_change_policy != 'deny'
Check if the video mode allows palette change.
Check if the video mode allows palette change.
Check if the video mode allows palette change .
def allows_palette_change(self):
        """Check if the video mode allows palette change."""
        if self._palette_change_policy == 'error':
            raise error.BASICError(error.IFC)
        return self._palette_change_policy != 'deny'
def allows_palette_change ( self ) : if self . _palette_change_policy == 'error' : raise error . BASICError ( error . IFC ) return self . _palette_change_policy != 'deny'