<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_contributor_details(self, contdetails):
 """ Sets 'contributor_details' parameter used to enhance the \ contributors element of the status response to include \ the screen_name of the contributor. By default only \ the user_id of the contributor is included :param contdetails: Boolean triggering the usage of the parameter :raises: TwitterSearchException """


        if not isinstance(contdetails, bool):
            raise TwitterSearchException(1008)
        self.arguments.update({'contributor_details': 'true'
                                                      if contdetails
                                                      else 'false'})