IsBool check if the string is a bool. Empty string is valid.
(str string)
source not stored for this graph (policy: none)