<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def getSkeletalActionData(self, action, unActionDataSize):
 """Reads the state of a skeletal action given its handle."""


        fn = self.function_table.getSkeletalActionData
        pActionData = InputSkeletalActionData_t()
        result = fn(action, byref(pActionData), unActionDataSize)
        return result, pActionData