check if a directory exists in a zip file with python,any(x.startswith('%s/' % name.rstrip('/')) for x in z.namelist())