'Check if count_str shows up twice'

def double_line_checker(self, full_load, count_str):

    num = full_load.lower().count(count_str)
    if (num > 1):
        lines = full_load.count('\r\n')
        if (lines > 1):
            full_load = full_load.split('\r\n')[(-2)]
    return full_load
