def METHOD_NAME(xform):
    if not hasattr(xform, 'form'):
        return
    found_old = scrub_form_meta(xform.form_id, xform.form)
    if found_old:
        metrics_counter('commcare.xform_submissions.old_metadata', tags={
            'domain': xform.domain,
        })