Ability to set the session cookie name

PHPSESSID is cool and all, but let the user change it
Why does check_write return !$has_written?

Shouldn't check_write return whether the session was written or not?
Why was there a ! there?