ruby check variable is a true boolean code example Example: ruby check if true if variable # true else # false