parameters: (self)
docstring: stop OpenThreadWpan
  
          Returns:
              True: successfully stop OpenThreadWpan
              False: failed to stop OpenThreadWpan
docstring_summary: stop OpenThreadWpan
docstring_tokens: stop OpenThreadWpan
function: def __stopOpenThreadWpan(self):
          """stop OpenThreadWpan
  
          Returns:
              True: successfully stop OpenThreadWpan
              False: failed to stop OpenThreadWpan
          """
          print('call stopOpenThreadWpan')
          try:
              if (self.__sendCommand(self.wpan_cmd_prefix + 'leave')[0] != 'Fail' and
                      self.__sendCommand(self.wpan_cmd_prefix + 'dataset erase')[0] != 'Fail'):
                  return True
              else:
                  return False
          except Exception as e:
              ModuleHelper.WriteIntoDebugLogger('stopOpenThreadWpan() Error: ' + str(e))
function_tokens: def __stopOpenThreadWpan ( self ) : print ( 'call stopOpenThreadWpan' ) try : if ( self . __sendCommand ( self . wpan_cmd_prefix + 'leave' ) [ 0 ] != 'Fail' and self . __sendCommand ( self . wpan_cmd_prefix + 'dataset erase' ) [ 0 ] != 'Fail' ) : return True else : return False except Exception as e : ModuleHelper . WriteIntoDebugLogger ( 'stopOpenThreadWpan() Error: ' + str ( e ) )