Yes and. China is still rapidly expanding their electricity production (because their energy use per capita is still way below US/Europe), and they don't have huge amounts of natural gas like the US does. As such, they are building coal plants that in the near term boost energy production, and in the medium term will be used as peaker plants for when the massive amount of renewables that they're also installing don't meet demand.