def selectfolder_status(request):
    return 'select_folder' in request.GET or request.POST in 'select_folder'
dataset/ETHPy150Open django-leonardo/django-leonardo/leonardo/module/media/views.py/selectfolder_status/swapped operands of `in`