It's important that you have to see it first, otherwise you could scout an entire moveset.
It could tell you even if it hasn't used it, but even if it doesn't have it at all, or even have the ability to learn it.