Does word "pocket" have the same meaning in the following two sentences?

The trapped miners found a pocket of air.

They dipped into the taxpayers' pockets.
different meanings