parameters: (cls, condition, true_value, false_value='')
return_statement: return Resolve
docstring: Returns a config value that selects a value based on the condition.
  
      Args:
          condition: The variable name to select a value on.
          true_value: The value to use if the variable is True.
          false_value: The value to use if the resolved variable is False.
      Returns:
          A dynamic value.
docstring_summary: Returns a config value that selects a value based on the condition.
docstring_tokens: Returns a config value that selects a value based on the condition .
function: def If(cls, condition, true_value, false_value=''):
      """Returns a config value that selects a value based on the condition.
  
      Args:
          condition: The variable name to select a value on.
          true_value: The value to use if the variable is True.
          false_value: The value to use if the resolved variable is False.
      Returns:
          A dynamic value.
      """
      def Resolve(context):
        test = context.Get(condition)
        if test:
          value = true_value
        else:
          value = false_value
        return context.Substitute(value)
      return Resolve
function_tokens: def If ( cls , condition , true_value , false_value = '' ) : def Resolve ( context ) : test = context . Get ( condition ) if test : value = true_value else : value = false_value return context . Substitute ( value ) return Resolve