Hello,
Yes. That will only be a trial that will run for about 60 or 90 days and then prompt you to purchse it.
Unless of course it stated when you bought the laptop that it included a full version of Office Student and Teacher. Then it would be fully legit and working.
Either way when you load it up it should tell you if it is a trial or not.
Cheers,
Mak