Is Portugal a country?

Yes. Portugal has been an independent country since 1640. It recently became a Constitutional Republic in 1974.