Unet host only code

I can’t seem to wrap my head around how to run code only on the host. Not only on the hosted version of connected clients, but if I have code that I want to run only one instance of, and only on the host, how do I do that?

if(isServer)
{
// Your Code
}