code: def _trunc_len(truncate_floats):
      if truncate_floats is True:
          return DEFAULT_FLOAT_TRUNC_LEN
      if not isinstance(truncate_floats, int):
          raise ValueError(
              f"invalid value for truncate_floats: {truncate_floats!r} (expected int)"
          )
      return truncate_floats
  
imports: import logging
  import os
  import re
  import yaml
  from guild import util
  from guild import yaml_util
label_desc: Use image node_id 37 for calling a global function with example usage: _trunc_len(truncate_floats) and returns: truncate_floats, DEFAULT_FLOAT_TRUNC_LEN