do embassies, generally speaking, ask a person applying for a visa their PR of the country in which they're currently applying for a visa (i.e the country where the embassy is based) or an eventual other visa for the country in which they're currently, in order to verify their legal presence there?
Example: My name is A, I'm an Egyptian citizen living in France. Once I go to a US istitution there in order to apply for a visa (I assume my passport is totally empty) and once I showed that I have enough funds to sustain and provide for myself there, would they ask a french PR in order for myself to be eventually issued a visa or do they simply bother about their related country entry conditions?
EDIT: The question does not pertain this current coronavirus hysteria and if the question's too broad or general, restrict your answer to the US or UK embassies cases.