This version of Unity is unsupported.

AnimationEvent.isFiredByAnimator

public bool isFiredByAnimator;

Description

Returns true if this Animation event has been fired by an Animator component.