parameters: (self, leg, isocut)
return_statement: return leg.relIso(0.5) < isocut
docstring: If isocut is None, the iso value is taken from the iso2 parameter.
          Checks the standard dbeta corrected isolation.
docstring_summary: If isocut is None, the iso value is taken from the iso2 parameter.
          Checks the standard dbeta corrected isolation.
docstring_tokens: If isocut is None the iso value is taken from the iso2 parameter . Checks the standard dbeta corrected isolation .
function: def testLeg2Iso(self, leg, isocut):
          '''If isocut is None, the iso value is taken from the iso2 parameter.
          Checks the standard dbeta corrected isolation.
          '''
          if isocut is None:
              isocut = self.cfg_ana.iso2
          return leg.relIso(0.5) < isocut
function_tokens: def testLeg2Iso ( self , leg , isocut ) : if isocut is None : isocut = self . cfg_ana . iso2 return leg . relIso ( 0.5 ) < isocut