Is the word "direction" used in the same way in the following two sentences?

Is the direction of the economy a function of government?

He gave directions faster than she could follow them.
different meanings