check pp defined