Can X-rays be used for photoelectric effect?

Photoelectric effect is the ejection of an electron from the target metal when the energy of the incoming radiation (photon) is greater than (or equal to) the work function of the metal. Thus, if the energy of the photon of the X-ray exceeds the work function, it can participate in the photoelectric process.

1