<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_include_entities(self, include):
 """ Sets 'include entities' parameter to either \ include or exclude the entities node within the results :param include: Boolean to trigger the 'include entities' parameter :raises: TwitterSearchException """


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