<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_parameter(self):
 """Obtain the parameter object from the current widget state. :returns: A BooleanParameter from the current state of widget """

        self._parameter.value = self._input.value()
        return self._parameter