def check_args(args):
 if (args.presharedkey and ((len(args.presharedkey) < 8) or (len(args.presharedkey) > 64))):
  sys.exit((((('[' + R) + '-') + W) + '] Pre-shared key must be between 8 and 63 printable characters.'))
 if (((args.jamminginterface and (not args.apinterface)) or ((not args.jamminginterface) and args.apinterface)) and (not (args.nojamming and args.apinterface))):
  sys.exit((((('[' + R) + '-') + W) + '] --apinterface (-aI) and --jamminginterface (-jI) (or --nojamming (-nJ)) are used in conjuction.'))
 if (args.nojamming and args.jamminginterface):
  sys.exit((((('[' + R) + '-') + W) + '] --nojamming (-nJ) and --jamminginterface (-jI) cannot work together.'))

def check_args ( args ) : if ( args . presharedkey and ( ( len ( args . presharedkey ) < 8 ) or ( len ( args . presharedkey ) > 64 ) ) ) : sys . exit ( ( ( ( ( '[' + R ) + '-' ) + W ) + '] Pre-shared key must be between 8 and 63 printable characters.' ) ) if ( ( ( args . jamminginterface and ( not args . apinterface ) ) or ( ( not args . jamminginterface ) and args . apinterface ) ) and ( not ( args . nojamming and args . apinterface ) ) ) : sys . exit ( ( ( ( ( '[' + R ) + '-' ) + W ) + '] --apinterface (-aI) and --jamminginterface (-jI) (or --nojamming (-nJ)) are used in conjuction.' ) ) if ( args . nojamming and args . jamminginterface ) : sys . exit ( ( ( ( ( '[' + R ) + '-' ) + W ) + '] --nojamming (-nJ) and --jamminginterface (-jI) cannot work together.' ) )
fail fast if paths we explicitly want to copy do not exist .