def convert_to_demisto_class(was_classified: str) -> int:
    """
    Convert was_classified to demisto classification
    :param was_classified:
    :return:
    """
    if was_classified == 'Yes':
        demisto_class = 1
    else:
        demisto_class = 0
    return demisto_class