Please use `$pageUrl !== null` here as that's the convention used in the rest of the module :)