def allow_degree_specification(value):
    """Dash callback for enabling/disabling the degree input widget for
    support vector classification.

    Given a kernel from the dropdown menu, allow the user to specify a degree
    if the selected kernel is polynomial, "poly." Otherwise, do not the allow
    th user to specify a degree.

    Args:
        value: Selected kernel from the dropdown menu.

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