code: def test_return_false_on_invalid_reason(self):
      assert not should_retry_eni(
          EcsTaskFailToStart(
              "The task failed to start due to: "
              "CannotPullContainerError: "
              "ref pull has been retried 5 time(s): failed to resolve reference"
          )
      )
  
file_path: airflow/tests/providers/amazon/aws/hooks/test_ecs.py
imports: from __future__ import annotations
  from unittest import mock
  import pytest
  from airflow.providers.amazon.aws.exceptions import EcsOperatorError, EcsTaskFailToStart
  from airflow.providers.amazon.aws.hooks.ecs import EcsHook, should_retry, should_retry_eni
label_desc: Use image node_id 2 for calling the TestShouldRetryEni obj's underlying member method code with example usage: obj.test_return_false_on_invalid_reason() without return types