parameters: (n: int = 5, prefix: Optional[str] = '',
                            suffix: Optional[str] = '')
return_statement: return ws_name
docstring: r"""
      Create a random sequence of `n` lowercase characters that is guaranteed
      not to collide with the name of any existing Mantid workspace registered
      in the analysis data service.
  
      @param n : size of the sequence
      @param prefix : string to prefix the randon sequence
      @param suffix : string to suffix the randon sequence
docstring_summary: r"""
      Create a random sequence of `n` lowercase characters that is guaranteed
      not to collide with the name of any existing Mantid workspace registered
      in the analysis data service.
docstring_tokens: r Create a random sequence of n lowercase characters that is guaranteed not to collide with the name of any existing Mantid workspace registered in the analysis data service .
function: def unique_workspace_name(n: int = 5, prefix: Optional[str] = '',
                            suffix: Optional[str] = ''):
      r"""
      Create a random sequence of `n` lowercase characters that is guaranteed
      not to collide with the name of any existing Mantid workspace registered
      in the analysis data service.
  
      @param n : size of the sequence
      @param prefix : string to prefix the randon sequence
      @param suffix : string to suffix the randon sequence
      """
  
      n_seq = ''.join(random.choice(string.ascii_lowercase) for _ in range(n))
      ws_name = '{}{}{}'.format(str(prefix), n_seq, str(suffix))
      while ws_name in AnalysisDataService.getObjectNames():
          characters = [random.choice(string.ascii_lowercase) for _ in range(n)]
          n_seq = ''.join(characters)
          ws_name = '{}{}{}'.format(str(prefix), n_seq, str(suffix))
      return ws_name
function_tokens: def unique_workspace_name ( n : int = 5 , prefix : Optional [ str ] = '' , suffix : Optional [ str ] = '' ) : n_seq = '' . join ( random . choice ( string . ascii_lowercase ) for _ in range ( n ) ) ws_name = '{}{}{}' . format ( str ( prefix ) , n_seq , str ( suffix ) ) while ws_name in AnalysisDataService . getObjectNames ( ) : characters = [ random . choice ( string . ascii_lowercase ) for _ in range ( n ) ] n_seq = '' . join ( characters ) ws_name = '{}{}{}' . format ( str ( prefix ) , n_seq , str ( suffix ) ) return ws_name