Unable to access bpy.types.Mask animation data from python

I am working on a plugin for blender Mask Layers, am currently facing a challenge where am unable to access the animation data for the keyframe mask layers