Checks if the image is valid.
bool TRUE if the image object contains a valid image, FALSE otherwise.
public function isValid();