changed is_bool() to !is_bool()

simply missed the negation after intended change from is_string() to !is_bool()