It's hard to tell whether a Pokemon is hacked or not, especially since you obtained it from link trade. But it should be okay to breed, if you see nothing else wrong with it. Hacked Pokemon tend to have weird abilities and abnormal stats. (I have gotten a hacked rotom before lv. 2 that had insane stats all lv. 150 and it had the ability "flash fire" only available to the starter fire types, so I decided not to breed it) I suggest battling with Ivysaur, and testing its skills. Definately check its stats and its ability. Otherwise, I think its safe. Also, action replay is created by Nintendo, and is a game available for the DS or DSi I trust them, and I think that if it was obtained from there, it would be safe. Hope this helps!