def METHOD_NAME(xbrlOpenDb):
    md = xbrlOpenDb.metadata
    # find if this exact report is being replaced
    #if md["reportId"]:
    #    results = xbrlOpenDb.execute("SELECT report_pk FROM report WHERE report_id = '{}'".format(md["reportId"]))
    #    for reportPk, in results:
    #        return reportPk
    return None