     {ast, state}
   end
 
-  defp issues_for_call([{:<<>>, _, [_ | _]} | _] = _args, meta, {import?, issues}, issue_meta) do
-    {import?, [issue_for(issue_meta, meta[:line]) | issues]}
+  defp issues_for_call([{:<<>>, _, [_ | _]} | _] = _args, meta, {module_contains_import?, issues}, issue_meta) do
+    {module_contains_import?, [issue_for(issue_meta, meta[:line]) | issues]}
   end
   defp issues_for_call(_args, _meta, state, _issue_meta) do
     state

  defp traverse({level, meta, arguments} = ast, {true, _issues} = state, issue_meta) when level in @levels do
    params = IssueMeta.params(issue_meta)
    levels = Params.get(params, :levels, @default_params)
    if Enum.member?(levels, level) do
      {ast, issues_for_call(arguments, meta, state, issue_meta)}
    else


  defp issue_for(issue_meta, line_no) do
    format_issue issue_meta,
      message: "Prefer lazy Logger calls.",
      line_no: line_no
  end

  defp logger_import?([{:__aliases__, _meta, [:Logger]}]), do: true
  defp logger_import?(_), do: false
end
