passing array of flags to isFlagged
isFlagged
should take a list of flags.
each should compared against the data, with the comparator
.
return the combination of results.
leaves space for some optimasation later, eg.: [BAD, DOUBTFUL]
and comparator='=='
optimize to DOUBTFUL
, comperator='>='
see also: !45 (closed)