PnmImage.isValid

bool isValid() const @trusted nothrow @nogc

Checks if the PNM image loaded successfully.