Should indeed be `TRUE === empty($pageUid)` to catch zero values.