Better way to check if pde is installed.