def is_string_number(data: str) -> bool:
    """Check if string contents represent a number.
    
    Args:
        data: data to analyze (str)
    Returns:
        result of check (bool)
    """
    
    # terminate early
    if data == "":
        return False
    
    try:
        float(data)
    except ValueError:
        return False
    else:
        return True