SES-1676 : Convert boolean parameter method to private

createLiteral and createLiteralOrFail are the two public API variants,
and the boolean method is an implementation detail.