Check if the gif is animated or not