Write a Python function that will filter all items that do not end in one of the provided endings (case insensitive).
system
ek paythan fnction likhen jo un sabhi vastuon ko filter karegaa jo pradaan kiye gaye ant (cese asamvedansheel) main se ek main samaapt nahin hote hai.
user
zarur.yahaan ek cese-asamvedansheel paythan fnction he jo sabhi vastuon ko ek suchi se filter karne ke liye he jo pradaan kiye gaye ant main samaapt nahin hota he:

DEF filtered_BY_EXTENSIONS (ITEM_LIST, ENDINGS):
    yadi item_list nahin he:
        waapas karnaa []
    yadi ant nahin he:
        Item_list lauten
    parinaam = item_list
    ant main ant ke liye:
        parinaam = suchi (filter (lambda naam: name.lower (), parinaam) main samaapt nahin)
    vaapasi parinaam
assistant
<|system|>
</s>
<|user|>
ek paythan fnction likhen jo un sabhi vastuon ko filter karegaa jo pradaan kiye gaye ant (cese asamvedansheel) main se ek main samaapt nahin hote hai.</s>
<|assistant|>
zarur.yahaan ek cese-asamvedansheel paythan fnction he jo sabhi vastuon ko ek suchi se filter karne ke liye he jo pradaan kiye gaye ant main samaapt nahin hota he:

DEF filtered_BY_EXTENSIONS (ITEM_LIST, ENDINGS):
    yadi item_list nahin he:
        waapas karnaa []
    yadi ant nahin he:
        Item_list lauten
    parinaam = item_list
    ant main ant ke liye:
        parinaam = suchi (filter (lambda naam: name.lower (), parinaam) main samaapt nahin)
    vaapasi parinaam</s>
