Php/docs/imagick.haspreviousimage
From Get docs
Imagick::hasPreviousImage
(PECL imagick 2, PECL imagick 3)
Imagick::hasPreviousImage — Checks if the object has a previous image
Description
public Imagick::hasPreviousImage ( ) : bool
Returns TRUE if the object has more images when traversing the list in the reverse direction
Return Values
Returns TRUE if the object has more images when traversing the list in the
reverse direction, returns FALSE if there are none.