Test that $_GET['pi'] actually has a value