NanoImage::isValid is useless now, remove it