<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def stop_data_fetch(self):
 """Stops the thread that fetches data from the Streams view server. """

        if self._data_fetcher:
            self._data_fetcher.stop.set()
            self._data_fetcher = None