def is_wrong_i18n_format(n):
 if isinstance(n.parent, compiler.ast.Mod):
  n = n.parent
 if isinstance(n.parent, compiler.ast.CallFunc):
  if isinstance(n.parent.node, compiler.ast.Name):
   if (n.parent.node.name == '_'):
    return True
 return False

def is_wrong_i18n_format ( n ) : if isinstance ( n . parent , compiler . ast . Mod ) : n = n . parent if isinstance ( n . parent , compiler . ast . CallFunc ) : if isinstance ( n . parent . node , compiler . ast . Name ) : if ( n . parent . node . name == '_' ) : return True return False
check _ .