isOpen method

bool isOpen()

returns boolean for checking if the current animation is completed.

Implementation

bool isOpen() {
  return _state == CurrentAnimationState.OPEN;
}