class TermCommonUtils {

    public static List<Object> convertToList(Object value) {<FILL_FUNCTION_BODY>}

    public static Object getStandardsTermValue(List<Object> value) {
        if (value.size() == 1) {
            return value.get(0);
        }
        return value;
    }
}

        if (value == null) {
            return Collections.emptyList();
        }
        if (value instanceof String) {
            value = ((String) value).split(",");
        }

        if (value instanceof Object[]) {
            value = Arrays.asList(((Object[]) value));
        }

        if (value instanceof Collection) {
            return new ArrayList<Object>(((Collection) value));
        }

        return Collections.singletonList(value);
    
<no_super_class>