Well, there are several ways to check if a Pokemon is hacked, including ability, strength, moves, etc. For example, figure out which one is hacked:
Deoxys @ Leftovers
Ability: Pressure
EVs: 252 HP/ 252 Def/
- Psycho Boost
- Cosmic Power
- Zen Headbutt
- Focus Blast
Shiny!Deoxys @ Leftovers
Ability: Wonder Guard
EVs: 252 HP/ 252 Def/ 252 Atk/ 252 Sp. Atk/ 252 Sp. Def/ 252 Spd
- Judgement
- Shadow Force
- Spacial Rend
- Ultra OP Uber Killer Stab
So as you can see, there are several ways to check if a Pokemon is shiny. Another method could be to check whether it has Pokerus. Usually OP Pokemon might not have Pokerus, while a Pokemon with Pokerus isn't necessarily hacked, it's plausible. There's also the option of checking the summary. If the Deoxys was obtained at Level 1 from an Egg in Unknown Area (Can only be reached by the walk through walls cheat).