code: function() {
                  var network = typeof connection_id === 'undefined' ?
                      _kiwi.app.connections.active_connection :
                      _kiwi.app.connections.getByConnectionId(connection_id);
  
                  return network ?
                      network :
                      undefined;
              }
docs: Helper to get the network object