def METHOD_NAME(symbol, event):
    intEnable = False
    localComponent = symbol.getComponent()
    eccEnabled = localComponent.getSymbolValue("MCRAMC_ECC_TESTING_ENABLE")
    singleBitIntEnabled = localComponent.getSymbolValue("MCRAMC_ECC_SINGLE_BIT_ERR_INT_ENABLE")
    doubleBitIntEnabled = localComponent.getSymbolValue("MCRAMC_ECC_DOUBLE_BIT_ERR_INT_ENABLE")
    if eccEnabled == True and (singleBitIntEnabled == True or doubleBitIntEnabled == True):
        intEnable = True
    Database.setSymbolValue("core", "MCRAMC" + "_INTERRUPT_ENABLE", intEnable, 2)
    Database.setSymbolValue("core", "MCRAMC" + "_INTERRUPT_HANDLER_LOCK", intEnable, 2)
    if intEnable == False:
        Database.setSymbolValue("core", "MCRAMC" + "_INTERRUPT_HANDLER", "MCRAMC" + "_Handler", 2)
    else:
        Database.setSymbolValue("core", "MCRAMC" + "_INTERRUPT_HANDLER", "RAM_ECC" + "_InterruptHandler", 2)