This version of Unity is unsupported.

AnimationClip.hasMotionCurves

Switch to Manual
public bool hasMotionCurves;

Description

Returns true if the AnimationClip has root motion curves.