def title_invalidates_entry(title):
    """
    Determines if the title contains phrases that indicate that the book is invalid

    >>> from gender_novels.corpus_gen import title_invalidates_entry
    >>> title_invalidates_entry("Index of the Project Gutenberg Works of Michael Cuthbert")
    True
    >>> title_invalidates_entry("Pride and Prejudice")
    False

    :param title: str
    :return: boolean
    """

    title = title.lower()
    if title.find("index of the project gutenberg ") != -1:
        # print("Was an index")
        return True
    if title.find("complete project gutenberg") != -1:
        # print("Was a compilation thing")
        return True
    if title.find("translated by ") != -1:
        # print("Was a translation")
        return True
    # if (title.find("vol. ") != -1):
    #     return True
    # if re.match(r"volume \d+", title, flags= re.IGNORECASE):
    #     return True
    return False