code: def test_float_values():
      assert cast_to_boolean(0.5) is True
      assert cast_to_boolean(3.14) is True
      assert cast_to_boolean(-2.71) is True
      assert cast_to_boolean(0.0) is False
  
imports: import os
  from dataclasses import dataclass
  from typing import Any, Optional
  from unittest.mock import MagicMock, patch
  import pandas
  import pytest
  from sqlalchemy import CheckConstraint, Column, Integer, MetaData, Table
  from superset.exceptions import SupersetException
  from superset.utils.core import cast_to_boolean, check_is_safe_zip, DateColumn, generic_find_constraint_name, generic_find_fk_constraint_name, is_test, normalize_dttm_col, parse_boolean_string, QueryObjectFilterClause, remove_extra_adhoc_filters
label_desc: Use image node_id 5 for calling a global function with example usage: test_float_values() without return types