code: def test_condition():
      # Arrange
      duplicate_data = pd.DataFrame(
          {
              "col1": [1, 2, 1, 2, 1, 2, 1, 2, 1, 2],
              "col2": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
              "col3": [2, 3, 4, 4, 4, 3, 4, 5, 6, 4],
          }
      )
      check = DataDuplicates().add_condition_ratio_less_or_equal(0)
  
      # Act
      result = check.conditions_decision(check.run(duplicate_data))
  
      assert_that(
          result,
          has_items(
              equal_condition_result(
                  is_pass=True,
                  details="Found 0% duplicate data",
                  name="Duplicate data ratio is less or equal to 0%",
              )
          ),
      )
  
file_path: deepchecks/tests/tabular/checks/integrity/data_duplicate_test.py
imports: import numpy
  import pandas
  from hamcrest import assert_that, calling, close_to, equal_to, has_items, has_length, raises
  from deepchecks.core import ConditionCategory
  from deepchecks.core.errors import DeepchecksValueError
  from deepchecks.tabular.checks.data_integrity.data_duplicates import DataDuplicates
  from tests.base.utils import equal_condition_result
label_desc: Use image node_id 13 for calling a global function with example usage: test_condition() without return types