Returns whether args contains the named flag.
args
static bool hasFlag(List<String> args, String flag) => args.contains(flag);