def METHOD_NAME(var):
    """
    Force var to be a set
    """
    if var is None:
        return set()
    if not isinstance(var, list):
        if isinstance(var, str):
            var = var.split()
        else:
            var = list(var)
    return set(var)