code: def test_was_selected_selects_errors(
      select_list, extend_select, error_code
  ):
      """Verify we detect users explicitly selecting an error."""
      decider = style_guide.DecisionEngine(
          options=create_options(
              select=select_list,
              extend_select=extend_select,
          ),
      )
  
      assert (
          decider.was_selected(error_code)
          is style_guide.Selected.Explicitly
      )
  
file_path: flake8/tests/unit/test_decision_engine.py
imports: from __future__ import annotations
  import argparse
  import pytest
  from flake8 import style_guide
label_desc: Use image node_id 4 for calling a global function with example usage: test_was_selected_selects_errors(select_list, extend_select, error_code) without return types