static validateAnimationChain(name, animations) {
    if (!__DEV__) {
      return;
    }

    var arrayChains = animations[name];
    if (!(arrayChains.constructor===Array) || arrayChains.length <= 0){
      animationError("Invalid chains: Array of Animation chains must be a non empty array!",
          animations[name], 'AnimationValidation ' + name);
      return;
    }

    for (var chainIndex = 0; chainIndex < arrayChains.length; chainIndex ++){
      if (!(arrayChains[chainIndex].constructor===Array) || arrayChains[chainIndex].length <=0) {
        animationError("Invalid chain: individual Animation chain must be a non empty array!",
            animations[name], 'AnimationValidation ' + name);
        return;
      }
    }
  }
Iterate through array to determine if there are empty chains (invalid)
or if there are any empty elements within a given chain (invalid)