How to check the pose bone have property which is driven?
I think there should be better way, but I feel it worked for me.
import bpy
def get_driver_list(ob):
    drvs = ob.animation_data.drivers
    li = []
    if drvs is not None:
        for drv in drvs:
            drv_path = drv.data_path
            li.append(drv_path)
    return li

def get_bone_driven(ob, bn):
    flag = False
    li = get_driver_list(ob)
    bn_path = ob.pose.bones[bn].path_from_id()
    for path in li:
        if bn_path in path:
            flag = True
            print(bn_path, &quot;in&quot; , path)
            break

    return(flag)

ob = bpy.context.object

for pb in ob.pose.bones:
    if get_bone_driven(ob, pb.name):
        print(pb.name)