If by "consciousness" you mean the thing that goes away during general anesthesia, then panpsychism is very unlike solipsism and can be easily refuted by the fact that anesthesia works.

If it isn't that, then we're talking about some non-practical definition, in which case, does that even matter?