extend [string is] to booleans