Original implementation was completely broken. Documentation and actual behavior were different. Numbers and booleans were detected as wrong, as well as explicit types. Fixes #136 and #130.
sys.executable
true
false
yes
no