def JoinWords(Words, Delimiter, Quote = False):
    """Join words in a list using specified delimiter with optional quotes around words.
    
    Arguments:
        Words (list): List containing words to join.
        Delimiter (string): Delimiter for joining words.
        Quote (boolean): Put quotes around words.

    Returns:
        str : String containing joined words.

    """
    
    if Quote:
        JoinedWords = Delimiter.join('"{0}"'.format(Word) for Word in Words)
    else:
        JoinedWords = Delimiter.join(Words)
        
    return JoinedWords