public static boolean isEnabled(int features, Feature feature) {
        return (features & feature.mask) != 0;
    }
@since 1.2.77
use HashMap instead of JSONObject, ArrayList instead of JSONArray
src/main/java/com/alibaba/fastjson/parser/Feature.java