The easiest way to check if the Pokemon is Hacked is you can use an AR and check its Move Set, Iv, Ev, The Area the Pokemon been Caught, Met, which Level, Hatched, PID, SID, ect.
You can also upload the .sav or .pkm file onto Pokesav and check it there.