<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def duty_cycle(self):
 """ Returns the current duty cycle of the motor. Units are percent. Values are -100 to 100. """

        self._duty_cycle, value = self.get_attr_int(self._duty_cycle, 'duty_cycle')
        return value