Pulling IP Address geo location info thru to lead

Hello,

I just checked my mautic.com instance. I can see some identified leads that have the country flag next to them. Does this happen for all identified leads or just for some? We have to identify the pattern.