As far as I know, it doesn't exist in GDScript. The closest thing would be exception handling, but that is only available in C# (and in general, you are better off with GDScript). What you could do is maybe use an Enum with 3 values, True, False, and a default of Undefined, or something like that. Though this would make checking the value more code than a boolean, it would achieve the safety you want.