'L{IDelayedCall.active} returns False once the call has run.'

def test_active(self):

    dcall = reactor.callLater(0.01, self.deferred.callback, True)
    self.assertTrue(dcall.active())
    def checkDeferredCall(success):
        self.assertFalse(dcall.active())
        return success
    self.deferred.addCallback(checkDeferredCall)
    return self.deferred
