public static bool IsInRange(this TimelineClip self, double globalTime) { float percent = self.GetPercent(globalTime); return(percent >= 0 && percent <= 1); }