For all of these checks, I am comfortable with simply doing `if (!num)` since you cannot have a page number of zero.