How to print pose-mode rotation values of the IK-constrained bone?

Here’s the IK setup:

The smallest bone is the IK target. The yellow bone is named ARM_END and has an IK constraint. When the armature is in the neutral pose, I can type:


This will print an Euler Y-rotation of the bone. However, even after moving the IK target (modifying the Z- rotation in the progress), the output of the print() is the same: 0.0

Is there a way to get the updated IK - rotation of the bone via python script?