code: def is_prime_order(self):
      return all(isprime(order) for order in self.relative_order)
  
imports: from sympy.ntheory.primetest import isprime
  from sympy.combinatorics.perm_groups import PermutationGroup
  from sympy.printing.defaults import DefaultPrinting
  from sympy.combinatorics.free_groups import free_group
label_desc: Use image node_id 2 for calling the PolycyclicGroup obj's underlying member method code with example usage: obj.is_prime_order() and returns: all