testing a full check case
diff --git a/Lib/distutils/command/check.py b/Lib/distutils/command/check.py
index c729149..d164f3f 100644
--- a/Lib/distutils/command/check.py
+++ b/Lib/distutils/command/check.py
@@ -65,7 +65,7 @@
         if self.metadata:
             self.check_metadata()
         if self.restructuredtext:
-            if docutils:
+            if HAS_DOCUTILS:
                 self.check_restructuredtext()
             elif self.strict:
                 raise DistutilsSetupError('The docutils package is needed.')