<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def Clear(self):
 """Clears all data from the emulator instance. Returns: True if the data was successfully cleared, False otherwise. """

    headers = {'Content-length': '0'}
    response, _ = self._http.request('%s/reset' % self._host, method='POST',
                                     headers=headers)
    if response.status == 200:
      return True
    else:
      logging.warning('failed to clear emulator; response was: %s', response)