On equivalent conditions for the validity of Poincaré inequality on weighted Sobolev space with applications to the solvability of degenerated PDEs involving p -Laplacian