You often need to pause or resume an animation based on whether or not the current animation running. The isActive()
getter returns a boolean that provides you with that information (the opposite information can be found with using the paused()
getter).