def end_chat(input_list):
    """ End chat 
   
    Parameters
    ----------
    input_list : list
        List containing 'quit' to end chat.
    
    Returns
    -------
    True or False : boolean
        Boolean assures whether to end chat based on whether the input contains 'quit'.
   """
    
    if 'quit' in input_list:
        return True
    else: 
        return False