def is_dos_line_feed(pdf):
    """Check if the PDF contains DOS line feeds."""

    i = 0

    for line in pdf.readlines():

        if b'\r\n' in line:
            i += 1

    if i > 25:
        return True

    return False