diff --git a/plugins/modules/mysql_info.py b/plugins/modules/mysql_info.py
index 17ab591..bd3686c 100644
--- a/plugins/modules/mysql_info.py
+++ b/plugins/modules/mysql_info.py
@@ -653,11 +653,8 @@ class MySQL_Info(object):
             if authentications:
                 output_dict.update(authentications[0])
 
-            if line.get('is_role') and not line['is_role']:
+            if line.get('is_role') and line['is_role'] == 'N':
                 output_dict['locked'] = user_is_locked(self.cursor, user, host)
-            else:
-                from pprint import pprint
-                pprint(line)
 
             # TODO password_option
             # but both are not supported by mysql_user atm. So no point yet.