def METHOD_NAME(self, context):
    outputs = self.outputs
    if self.out_mode == 'SCALAR':
        if 'Noise S' not in outputs:
            outputs[0].replace_socket('SvStringsSocket', 'Noise S')
            return
    if self.out_mode == 'VECTOR':
        if 'Noise V' not in outputs:
            outputs[0].replace_socket('SvVerticesSocket', 'Noise V')
            return
    updateNode(self, context)