There's no way to find out, other than figuring that a perfect IV shiny Pokemon with good egg moves and a useful nature is probably hacked. Then again there is nothing wrong with hacked Pokemon if they are legal, only the collectors care about breeding.