class_docstr: A class for representing multivariate polynomial rings. 
docstr: Convert an algebraic number to ``dtype``. 
docstr_tok: ["Convert","an","algebraic","number","to","``","dtype","``","."]
code: def from_AlgebraicField(K1, a, K0):
      """Convert an algebraic number to ``dtype``."""
      if K1.domain != K0:
          a = K1.domain.convert_from(a, K0)
      if a is not None:
          return K1.new(a)
  
imports: from sympy.polys.domains.ring import Ring
  from sympy.polys.domains.compositedomain import CompositeDomain
  from sympy.polys.polyerrors import CoercionFailed, GeneratorsError
  from sympy.utilities import public
label_desc: Use image node_id 23 for calling the PolynomialRing obj's underlying member method code with example usage: obj.from_AlgebraicField(K1, a, K0) and returns: K1