method Server.prototype.closedView codeServer.prototype.closed(): booleanGet whether the server is closed. Return TypebooleanView code