external as_bool : obj -> bool = "jsoo_extract_bool"