diff --git a/salt/modules/iptables.py b/salt/modules/iptables.py
index <HASH>..<HASH> 100644
--- a/salt/modules/iptables.py
+++ b/salt/modules/iptables.py
@@ -22,7 +22,7 @@ def __virtual__():
     Only load the module if iptables is installed
     '''
     global HAS_CHECK
-    if salt_cmd.run('iptables --help', quiet=True).find('--check'):
+    if '--check' in salt_cmd.run('iptables --help', output_loglevel='quiet'):
         HAS_CHECK = True
 
     if salt.utils.which('iptables'):
Fix condition, avoid deprecation warning.

Find returns -1 if string not found which results in True.