This got fixed with the general switch to response.has_mask() function style.