Prefer more idiomatic empty sequence check