code: def test_condition_max_nulls_passed():
      # Arrange
      data = {"col1": ["", "#@$", "Nan!", "#nan", "<NaN>"]}
      dataset = Dataset(pd.DataFrame(data=data))
      check = MixedNulls().add_condition_different_nulls_less_equal_to(
          10
      )
  
      # Act
      result = check.conditions_decision(check.run(dataset))
  
      assert_that(
          result,
          has_items(
              equal_condition_result(
                  is_pass=True,
                  details="Passed for 1 relevant column",
                  name="Number of different null types is less or equal to 10",
              )
          ),
      )
  
imports: import numpy
  import pandas
  from hamcrest import any_of, assert_that, calling, close_to, equal_to, greater_than, has_entries, has_entry, has_items, has_length, is_, raises
  from deepchecks.core.errors import DatasetValidationError, DeepchecksValueError
  from deepchecks.tabular.checks.data_integrity.mixed_nulls import MixedNulls
  from deepchecks.tabular.dataset import Dataset
  from tests.base.utils import equal_condition_result
label_desc: Use image node_id 24 for calling a global function with example usage: test_condition_max_nulls_passed() without return types