Typecast a value to a true or false
@param [Integer, to_str] value
value to typecast
@return [Boolean]
true or false constructed from value
@api private
[Validate]