code: def _check_target_not_float(targets):
      if targets.dtype == float:
          raise TypeError(
              "Input `targets` cannot be an SArray of type float."
          )
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import turicreate
  from turicreate.toolkits._internal_utils import _raise_error_if_not_sarray, _check_categorical_option_type
  from turicreate.toolkits._main import ToolkitError
label_desc: Use image node_id 4 for calling a global function with example usage: _check_target_not_float(targets) without return types