Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Hi Dina
The only way to check if that key is valid is to try to install Office using that licence key at the link below:
That will either succeed, or you will be notified it is not correct . . .