(PECL imagick 2, PECL imagick 3)
Imagick::hasNextImage — Checks if the object has more images
public Imagick::hasNextImage ( ) : bool
 Returns true if the object has more images when traversing the list in the forward direction. 
 Returns true if the object has more images when traversing the list in the forward direction, returns false if there are none. 
    © 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
    https://www.php.net/manual/en/imagick.hasnextimage.php