

def xbrlRun(cntlr, options, modelXbrl, *args, **kwargs):
    modelManager = cntlr.modelManager
    if (hasattr(modelManager, 'efmFiling') and ((modelXbrl.modelDocument.type == ModelDocument.Type.INSTANCE) or (modelXbrl.modelDocument.type == ModelDocument.Type.INLINEXBRL))):
        efmFiling = modelManager.efmFiling
        _report = efmFiling.reports[(- 1)]
        if True:
            for pluginXbrlMethod in pluginClassMethods('EdgarRenderer.Xbrl.Run'):
                pluginXbrlMethod(cntlr, options, modelXbrl, modelManager.efmFiling, _report)

dataset/ETHPy150Open Arelle/Arelle/arelle/plugin/validate/EFM/__init__.py xbrlRun/original