def is_digit(str_value: str) -> bool:
    """Checks if a string represents a digit after replacing 
    thousand and decimal separators"""

    return str_value.replace(".", "").replace(",", "").isdigit()