def is_str_float(value: str) ->bool:
    """
    Check whether a string represents a number.

    Args:
        value (str): The string to check.

    Returns:
        bool: ``True`` if it does, ``False`` otherwise.
    """
    try:
        float(value)
        return True
    except ValueError:
        return False
