# Interface: com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.opt.IEOptFilterCanDiscard

Interface for can\-discard filter implementations used by a master optimizer.  Refer to [IEMasterOptimizer#addDisregardedOutputFilter(IEOptFilterCanDiscard)](IEMasterOptimizer#addDisregardedOutputFilter(IEOptFilterCanDiscard)).

## Method: check
- parameter: `cfg`, type: `com.pnfsoftware.jeb.core.units.code.asm.cfg.CFG<com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.IEStatement>`
- parameter: `insnAddress`, type: `long`
- parameter: `varDefId`, type: `int`
- return type: `boolean`

Description: 
parameter: cfg: CFG
parameter: insnAddress: instruction in CFG
parameter: varDefId: a variable id being defined by the instruction
return: true if the definition at the instruction could be considered useless

