code: def test_search_expression():
      search_filter = Filter(
          name="learning_rate", operator=Operator.EQUALS, value="0.1"
      )
      nested_filter = NestedFilter(
          property_name="hyper_param", filters=[search_filter]
      )
      search_expression = SearchExpression(
          filters=[search_filter],
          nested_filters=[nested_filter],
          sub_expressions=[],
          boolean_operator=BooleanOperator.AND,
      )
  
      assert {
          "Filters": [
              {
                  "Name": "learning_rate",
                  "Operator": "Equals",
                  "Value": "0.1",
              }
          ],
          "NestedFilters": [
              {
                  "Filters": [
                      {
                          "Name": "learning_rate",
                          "Operator": "Equals",
                          "Value": "0.1",
                      }
                  ],
                  "NestedPropertyName": "hyper_param",
              }
          ],
          "SubExpressions": [],
          "Operator": "And",
      } == search_expression.to_boto()
  
imports: from __future__ import absolute_import
  import pytest
  from sagemaker.utilities.search_expression import Filter, Operator, NestedFilter, SearchExpression, BooleanOperator
label_desc: Use image node_id 4 for calling a global function with example usage: test_search_expression() without return types