Swich hasFlag to isParsed to be more generic.