Honestly, didn't Austin John post a video of this for Scarlet and Violet? I thought it that the shiny Ditto looked like a shiny Meowth (*because of transform*). I believe you have to run into a shiny encounter to see if it is Ditto or not. (*This is for Pokemon Scarlet and Violet*)