code: def test_cyclic():
      F, x, y = free_group("x, y")
      f = FpGroup(F, [x * y, x**-1 * y**-1 * x * y * x])
      assert f.is_cyclic
      f = FpGroup(F, [x * y, x * y**-1])
      assert f.is_cyclic
      f = FpGroup(F, [x**4, y**2, x * y * x**-1 * y])
      assert not f.is_cyclic
  
file_path: sympy/sympy/combinatorics/tests/test_fp_groups.py
imports: from sympy.core.singleton import S
  from sympy.combinatorics.fp_groups import FpGroup, low_index_subgroups, reidemeister_presentation, FpSubgroup, simplify_presentation
  from sympy.combinatorics.free_groups import free_group, FreeGroup
  from sympy.testing.pytest import slow
label_desc: Use image node_id 7 for calling a global function with example usage: test_cyclic() without return types