multiplayer. how does IsNetRelevantFor function work??

As far as i understand you can check if a actor is relevant for replication.
Now in the Replication category in your Actor you can set the distance from witch this actor will replicate to the client.