<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def override_if_not_in_args(flag, argument, args):
 """Checks if flags is in args, and if not it adds the flag to args."""

  if flag not in args:
    args.extend([flag, argument])