code: def test_dmp_irreducible_p():
      R, x, y = ring("x,y", ZZ)
      assert R.dmp_irreducible_p(x**2 + x + 1) is True
      assert R.dmp_irreducible_p(x**2 + 2 * x + 1) is False
  
imports: from sympy.polys.rings import ring, xring
  from sympy.polys.domains import FF, ZZ, QQ, ZZ_I, QQ_I, RR, EX
  from sympy.polys import polyconfig
  from sympy.polys.polyerrors import DomainError
  from sympy.polys.polyclasses import ANP
  from sympy.polys.specialpolys import f_polys, w_polys
  from sympy.core.numbers import I
  from sympy.functions.elementary.miscellaneous import sqrt
  from sympy.functions.elementary.trigonometric import sin
  from sympy.ntheory.generate import nextprime
  from sympy.testing.pytest import raises, XFAIL
label_desc: Use image node_id 25 for calling a global function with example usage: test_dmp_irreducible_p() without return types