pub fn should_write_checked_record( quality: &RuntimeAdoptionRecordQualityReport, allow_warnings: bool, ) -> bool