def is_iter(iterable):
    return hasattr(iterable, '__iter__')
Simple adds a default mimetype for PDFs and a filename
dataset/ETHPy150Open evennia/evennia/evennia/utils/utils.py/is_iter--crossover with--dataset/ETHPy150Open rasca/django-enhanced-cbv/enhanced_cbv/response.py/PDFTemplateResponse.__init__