def _is_working_zoom_level(zoom, tiles, session):
url = tiles.format(s='<STR_LIT:a>', x=<NUM_LIT:0>, y=<NUM_LIT:0>, z=zoom)<EOL>response = session.get(url, timeout=<NUM_LIT:5>)<EOL>if response.status_code < <NUM_LIT>:<EOL><INDENT>return True<EOL><DEDENT>return False<EOL>
Check if the zoom level works for the given tileset.