<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def clean_workspace(self):
        '''Clean up the temporary workspace if one exists'''
        if os.path.isdir(self._temp_workspace):
            shutil.rmtree(self._temp_workspace)