

def guiTestcasesStart(cntlr, modelXbrl, *args, **kwargs):
    modelManager = cntlr.modelManager
    if (cntlr.hasGui and (modelXbrl.modelDocument.type in ModelDocument.Type.TESTCASETYPES) and modelManager.validateDisclosureSystem and getattr(modelManager.disclosureSystem, 'EFMplugin', False)):
        modelManager.efmFiling = Filing(args)

dataset/ETHPy150Open Arelle/Arelle/arelle/plugin/validate/EFM/__init__.py guiTestcasesStart/VarMisuse@68/106 `cntlr`->`args`