isNonSquare function
True if image is not square (width != height). Used by doctor /
strict mode to warn about non-square sources, which the resize step
silently squishes today (upstream #214).
Implementation
bool isNonSquare(Image image) => image.width != image.height;