<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def q_limited(self):
 """ Is the machine at it's limit of reactive power? """

        if (self.q >= self.q_max) or (self.q <= self.q_min):
            return True
        else:
            return False