code: def _evaluate_filter_expression_ends_with(
      model_filter: ModelFilter,
      cached_model_value: Optional[
          Union[str, bool, int, float, Dict[str, Any], List[Any]]
      ],
  ) -> BooleanValues:
      """Evaluates filter expressions for string ends with."""
      if cached_model_value is None:
          return BooleanValues.FALSE
      filter_value = str(model_filter.value)
      if cached_model_value.endswith(filter_value):
          return BooleanValues.TRUE
      return BooleanValues.FALSE
  
imports: from __future__ import absolute_import
  from ast import literal_eval
  from enum import Enum
  from typing import Dict, List, Optional, Union, Any
  from sagemaker.jumpstart.types import JumpStartDataHolderType
label_desc: Use image node_id 7 for calling a global function with example usage: _evaluate_filter_expression_ends_with(model_filter, cached_model_value) and returns: BooleanValues, BooleanValues, BooleanValues