why not just `if status.code`?