def is_number(number_str):
    """Test if number_str is number including infraformat logic."""
    try:
        complex(number_str)
    except ValueError:
        if number_str == '-':
            return True
        return False
    return True
