class Attributes {
    public static boolean isTypeAvailable(Class<?> type, TimeRepresentation timeRepresentation) {<FILL_FUNCTION_BODY>}

    public static boolean isTimestampType(Class<?> type) {
        return TimestampSet.class.isAssignableFrom(type)
            || TimestampMap.class.isAssignableFrom(type);
    }

    public static boolean isIntervalType(Class<?> type) {
        return IntervalSet.class.isAssignableFrom(type)
            || IntervalMap.class.isAssignableFrom(type);
    }
}

        if (AttributeUtils.isDynamicType(type)) {
            switch (timeRepresentation) {
                case INTERVAL:
                    return isIntervalType(type);
                case TIMESTAMP:
                    return isTimestampType(type);
                default:
                    throw new IllegalArgumentException("Unknown timeRepresentation");
            }
        } else {
            return true;
        }
    
<no_super_class>