Imported logs exclude IPs (need clarification)

Just need a clarification. When importing access logs to Matomo, does it exclude IPs that are listed in the settings from being counted in the stats?

We have a lot of IPs that need to be excluded from statistics, not to bloat them, so I wanted to clarify if Matomo processes logs using all the settings.

Thanks.