Blender script Python check the rotation is change, or active
The following python script will iterate through the "areas" in the current window to find 3D views and print what the pivot point is set to.

import bpy

for area in bpy.context.screen.areas:
    if area.type == 'VIEW_3D':
        print(area.spaces[0].pivot_point)


One thing I have noticed is that if you change the pivot_point in one 3D view it changes in any other 3D views you have open.  This leads me to suspect that the information exists elsewhere in another data structure, but I have not figured out where.

See also How to set cursor location, pivot_point in script?