Do you need to construct the full PDE? You could probably just check the degree of `h**2` and maybe `hy`