swig does not like safe bool