static boolean isInput(API api) { return api.filter() != Filter.class || api.filters().length != 0; }