If we've gotten this far, error_code has to evaluate to True, so this check is unnecessary.