def is_numeric(value) -> bool:
    """Test if a value is numeric.

    Args:
        value: Any value.

    Returns:
        True if the value is an int or float. False otherwise.
    """
    return isinstance(value, int) or isinstance(value, float)