Collapse all checks into single condition in _is_msie8or9().