code: def is_float(tg_type, inc_array=False):
      
      global _scalar_float_types, _array_float_types
      if tg_type in _scalar_float_types:
          return True
      if not inc_array:
          return False
      return tg_type in _array_float_types
docs: Tells if the given tango type is float
  
      :param tg_type: tango type
      :type tg_type: :class:`tango.CmdArgType`
      :param inc_array: (optional, default is False) determines if include array
                        in the list of checked types
      :type inc_array: :py:obj:`bool`
  
      :return: True if the given tango type is float or False otherwise
      :rtype: :py:obj:`bool`