def METHOD_NAME(filing_data: dict):
    if (event_filing_type := filing_data['event_file_type']) and \
            event_filing_type == ChangeRegistrationEventFilings.ADFIRM_NULL:
        return True
    if (ods_type_cd := filing_data['f_ods_type']) and \
            ods_type_cd == 'P':
        return True
    return False