def METHOD_NAME(exact_match, attrs, keys):
    trans_attrs = map(_translate_attr, attrs)
    # TRANSLATORS: separator used between package attributes (eg. Name & Summary & URL)
    trans_attrs_str = _(' & ').join(trans_attrs)
    if exact_match:
        # TRANSLATORS: %s  - translated package attributes,
        #              %%s - found keys (in listed attributes)
        section_text = _('%s Exactly Matched: %%s') % trans_attrs_str
    else:
        # TRANSLATORS: %s  - translated package attributes,
        #              %%s - found keys (in listed attributes)
        section_text = _('%s Matched: %%s') % trans_attrs_str
    formatted = self.base.output.fmtSection(section_text % ", ".join(keys))
    print(ucd(formatted))