code: def test_contains_moar(any_string_dtype):
      # PR #1179
      s = Series(
          [
              "A",
              "B",
              "C",
              "Aaba",
              "Baca",
              "",
              np.nan,
              "CABA",
              "dog",
              "cat",
          ],
          dtype=any_string_dtype,
      )
  
      result = s.str.contains("a")
      expected_dtype = (
          "object"
          if any_string_dtype in object_pyarrow_numpy
          else "boolean"
      )
      expected = Series(
          [
              False,
              False,
              False,
              True,
              True,
              False,
              np.nan,
              False,
              False,
              True,
          ],
          dtype=expected_dtype,
      )
      tm.assert_series_equal(result, expected)
  
      result = s.str.contains("a", case=False)
      expected = Series(
          [
              True,
              False,
              False,
              True,
              True,
              False,
              np.nan,
              True,
              False,
              True,
          ],
          dtype=expected_dtype,
      )
      tm.assert_series_equal(result, expected)
  
      result = s.str.contains("Aa")
      expected = Series(
          [
              False,
              False,
              False,
              True,
              False,
              False,
              np.nan,
              False,
              False,
              False,
          ],
          dtype=expected_dtype,
      )
      tm.assert_series_equal(result, expected)
  
      result = s.str.contains("ba")
      expected = Series(
          [
              False,
              False,
              False,
              True,
              False,
              False,
              np.nan,
              False,
              False,
              False,
          ],
          dtype=expected_dtype,
      )
      tm.assert_series_equal(result, expected)
  
      result = s.str.contains("ba", case=False)
      expected = Series(
          [
              False,
              False,
              False,
              True,
              True,
              False,
              np.nan,
              True,
              False,
              False,
          ],
          dtype=expected_dtype,
      )
      tm.assert_series_equal(result, expected)
  
imports: from datetime import datetime
  import re
  import numpy
  import pytest
  from pandas.errors import PerformanceWarning
  import pandas.util._test_decorators
  import pandas
  from pandas import Series, _testing
  from pandas.tests.strings import _convert_na_value, object_pyarrow_numpy
label_desc: Use image node_id 6 for calling a global function with example usage: test_contains_moar(any_string_dtype) without return types