str2bool should return a boolean if called with a boolean
Merge branch 'pull-115' into 2.x