def end_chat(input_list):
    """Function to end the chat.
    
    Parameters
    ----------
    input_list : list
        List that contains the input that the user input to the chatbot.
        
    Returns
    -------
    output : bool
        Returns True to end chat or False to continue chat.
    """
    
    if str('quit') in input_list:
        output = True
        return output
    else:
        output = False
        return output