We check the URI againts a pages array.