Leagues will not likely permanetly ban you or something if you did not know thy were hacked..
Though to avoid this its prudent just to make sure. If you think you have a hacked poke, try seeing if a trusted trader like Lilac, Greene, myself, will look at it on Wi-Fi for you.