s3: Make is_stat_open() a bit more readable