code: def test_condition_step():
      param = ParameterInteger(name="MyInt")
      cond = ConditionEquals(left=param, right=1)
      step1 = CustomStep(name="MyStep1")
      step2 = CustomStep(name="MyStep2")
      cond_step = ConditionStep(
          name="MyConditionStep",
          depends_on=["TestStep"],
          conditions=[cond],
          if_steps=[step1],
          else_steps=[step2],
      )
      cond_step.add_depends_on(["SecondTestStep"])
      assert cond_step.to_request() == {
          "Name": "MyConditionStep",
          "Type": "Condition",
          "DependsOn": ["TestStep", "SecondTestStep"],
          "Arguments": {
              "Conditions": [
                  {
                      "Type": "Equals",
                      "LeftValue": param,
                      "RightValue": 1,
                  },
              ],
              "IfSteps": [
                  {
                      "Name": "MyStep1",
                      "Type": "Training",
                      "Arguments": {},
                  },
              ],
              "ElseSteps": [
                  {
                      "Name": "MyStep2",
                      "Type": "Training",
                      "Arguments": {},
                  }
              ],
          },
      }
      assert cond_step.properties.Outcome.expr == {
          "Get": "Steps.MyConditionStep.Outcome"
      }
  
imports: from __future__ import absolute_import
  import json
  from sagemaker.remote_function.job import _JobSettings
  from sagemaker.workflow.conditions import ConditionEquals, ConditionGreaterThan, ConditionGreaterThanOrEqualTo, ConditionIn, ConditionLessThan, ConditionLessThanOrEqualTo, ConditionNot, ConditionOr
  from sagemaker.workflow.execution_variables import ExecutionVariables
  from sagemaker.workflow.function_step import step
  from sagemaker.workflow.parameters import ParameterInteger, ParameterString
  from sagemaker.workflow.condition_step import ConditionStep
  from sagemaker.workflow.pipeline import Pipeline, PipelineGraph
  from tests.unit.sagemaker.workflow.helpers import CustomStep, ordered
label_desc: Use image node_id 2 for calling a global function with example usage: test_condition_step() without return types