Check whether `N` is a positive integer or not