Does the word "form" have the same definition in the next two sentences?

He was at the top of his form.

The team was off form last night.
the same meaning