<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def setBendLength(self, x):
 """ set bend length :param x: new bend length to be assigned, [m] :return: None """

        if x != self.bend_length:
            self.bend_length = x
            self.refresh = True