def get_missing_flags(conf, atom, flags):
 new_flags = []
 for flag in flags:
  if (not has_flag(conf, atom, flag)):
   new_flags.append(flag)
 return new_flags

def get_missing_flags ( conf , atom , flags ) : new_flags = [ ] for flag in flags : if ( not has_flag ( conf , atom , flag ) ) : new_flags . append ( flag ) return new_flags
find out which of the given flags are currently not set .