It is hacked, but as long as you keep it off of online play, it shouldn't harm your game. If you care about your Pokemon being legitimate, you can go ahead and release it, otherwise there's no harm in keeping it as long as you avoid using it online.