Is "Valid for work only with authorization from the DHS" on a social security card the same thing as "Not valid for employment" for tax purposes?

My spouse is in the U.S. on an F-1 student visa.