def METHOD_NAME(rna_path):
    if not rna_path.startswith("pose.bones["):
        return None
    # rna_path_bone = rna_path[:rna_path.index("]") + 1]
    # return obj.path_resolve(rna_path_bone)
    bone_name = rna_path.split("[")[1].split("]")[0]
    return obj.pose.bones[bone_name[1:-1]]