<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _is_download(ending):
 """Check if file ending is considered as download."""

    list = [
            'PDF',
            'DOC',
            'TXT',
            'PPT',
            'XLSX',
            'MP3',
            'SVG',
            '7Z',
            'HTML',
            'TEX',
            'MPP',
            'ODT',
            'RAR',
            'ZIP',
            'TAR',
            'EPUB',
           ]
    list_regex = [
                  'PDF'
                 ]
    if ending in list:
        return True
    for file_type in list_regex:
        if re.search(re.escape(file_type), ending):
            return True
    return False