def radmat_filter_mask(rad_filter_result):
    """
    Return a mask indicating which radmat rows pass the most recent application of
    filtering as represented by the "pass_quality" column of RadFilterResult.filter_df.
    """
    return (rad_filter_result.filter_df.pass_quality).astype(bool).values