code: def check_arg_compatibility(args: argparse.Namespace):
      
  
      if args.lhuc is not None:
          # Actually this check is a bit too strict
          check_condition(args.encoder != C.CONVOLUTION_TYPE or args.decoder != C.CONVOLUTION_TYPE,
                          "LHUC is not supported for convolutional models yet.")
          check_condition(args.decoder != C.TRANSFORMER_TYPE or C.LHUC_STATE_INIT not in args.lhuc,
                          "The %s options only applies to RNN models" % C.LHUC_STATE_INIT)
  
      if args.decoder_only:
          check_condition(args.decoder != C.TRANSFORMER_TYPE and args.decoder != C.CONVOLUTION_TYPE,
                          "Decoder pre-training currently supports RNN decoders only.")
docs: Check if some arguments are incompatible with each other.
  
      :param args: Arguments as returned by argparse.