"local server" was a workaround we used before the isServer command was added. It was cumbersome, since it required a game-logic to be created or the code wouldn't work. It is completely obsolete now, since isServer does precisely the same thing.
In SP or on a dedicated or hosted server, isServer is always true. On dedicated clients, isServer is always false.