def METHOD_NAME(self):
    if not any(socket.is_linked for socket in self.outputs):
        return
    curve_s = self.inputs['Curves'].sv_get()
    if isinstance(curve_s[0], SvCurve):
        curve_s = [curve_s]
    curves_out = []
    for curves in curve_s:
        if self.check:
            self.run_check(curves)
        if self.all_nurbs:
            curves = self.to_nurbs(curves)
        if self.all_nurbs:
            new_curve = concatenate_nurbs_curves(curves, tolerance=self.max_rho)
        else:
            new_curve = concatenate_curves(curves)
        curves_out.append(new_curve)
    self.outputs['Curve'].sv_set(curves_out)