def allow_minkowski_specification(value):
    """Dash callback for enabling/disabling the Minkowski distance input
    widget for k nearest neighbors.

    Given a distance metric to use for measuring the distance between
    neighbors in the k nearest neighbors algorithm, only allow user input of
    the Minkowski distance if the metric selected is Minkowski.

    Args:
        value: Selected k nearest neighbors distance metric from dropdown.

    Returns:
        True if the distance metric is not "minkowski" and False otherwise.
    """
    return value.lower() != 'minkowski'