Solution:
For that we have weigh the compound and heat it.
If the weight before the heating and after heating is in equal then we can say the water in hydrated compound has been still there.
But if the weight is change or less, then we must say that the water is lost.