<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_clicked(self, MouseStateType):
 """ Did the user depress and release the button to signify a click? MouseStateType is the button to query. Values found under StateTypes.py """

        return self.previous_mouse_state.query_state(MouseStateType) and (
        not self.current_mouse_state.query_state(MouseStateType))