Yes, according to multiple statements from Google, the country code in the top level domain is a strong hint that a website is targeting a specific country.
“Q: What about real ccTLDs (country code top-level domains) : will Google favor ccTLDs (like .uk, .ae, etc.) as a local domain for people searching in those countries?
A: By default, most ccTLDs (with exceptions) result in Google using these to geotarget the website; it tells us that the website is probably more relevant in the appropriate country. Again, see our help center for more information on multi-regional and multilingual sites.” source
“Use of a ccTLD is generally a strong signal for users since it explicitly specifies a single country in an unmistakable way.” source