Checking if page is not null