code: def test_strip():
      D = DihedralGroup(5)
      D.schreier_sims()
      member = Permutation([4, 0, 1, 2, 3])
      not_member1 = Permutation([0, 1, 4, 3, 2])
      not_member2 = Permutation([3, 1, 4, 2, 0])
      identity = Permutation([0, 1, 2, 3, 4])
      res1 = _strip(
          member, D.base, D.basic_orbits, D.basic_transversals
      )
      res2 = _strip(
          not_member1, D.base, D.basic_orbits, D.basic_transversals
      )
      res3 = _strip(
          not_member2, D.base, D.basic_orbits, D.basic_transversals
      )
      assert res1[0] == identity
      assert res1[1] == len(D.base) + 1
      assert res2[0] == not_member1
      assert res2[1] == len(D.base) + 1
      assert res3[0] != identity
      assert res3[1] == 2
  
file_path: sympy/sympy/combinatorics/tests/test_util.py
imports: from sympy.combinatorics.named_groups import SymmetricGroup, DihedralGroup, AlternatingGroup
  from sympy.combinatorics.permutations import Permutation
  from sympy.combinatorics.util import _check_cycles_alt_sym, _strip, _distribute_gens_by_base, _strong_gens_from_distr, _orbits_transversals_from_bsgs, _handle_precomputed_bsgs, _base_ordering, _remove_gens
  from sympy.combinatorics.testutil import _verify_bsgs
label_desc: Use image node_id 2 for calling a global function with example usage: test_strip() without return types