parameters: (self)
docstring: start commissioner candidate petition process
  
          Returns:
              True: successful to start commissioner candidate petition process
              False: fail to start commissioner candidate petition process
docstring_summary: start commissioner candidate petition process
docstring_tokens: start commissioner candidate petition process
function: def allowCommission(self):
          """start commissioner candidate petition process
  
          Returns:
              True: successful to start commissioner candidate petition process
              False: fail to start commissioner candidate petition process
          """
          print('%s call allowCommission' % self)
          cmd = 'commissioner start'
          print(cmd)
          if self.__executeCommand(cmd)[-1] == 'Done':
              self.isActiveCommissioner = True
              # time for petition process and at least one keep alive
              self.sleep(3)
              return True
          else:
              return False
function_tokens: def allowCommission ( self ) : print ( '%s call allowCommission' % self ) cmd = 'commissioner start' print ( cmd ) if self . __executeCommand ( cmd ) [ - 1 ] == 'Done' : self . isActiveCommissioner = True # time for petition process and at least one keep alive self . sleep ( 3 ) return True else : return False