Does "take" mean the same thing in these two sentences?

Do you take me for a fool?

He was often taken to be a man of means.
the same meaning