def contains_all_value(page):
    """
    Validate if both title and text are set
    
    Returns
    --------
    bool
        True if all values are set
        False if not all values are set
    """
    if len(page.getElementsByTagName('title')) == 0:
        return False
    if len(page.getElementsByTagName('text')) == 0:
        return False
    return True