isAnimatingNid method
Hot-path equivalent of isAnimating: O(1) array read instead of a
HashMap-keyed Set lookup. Caller must guarantee nid is live and
within range.
Implementation
bool isAnimatingNid(int nid) {
_ensureAnimatingKeys();
return _isAnimatingByNid[nid] != 0;
}