def checkArguments(args):
   """
   Check argumments 

   Parameters
   ----------
   args : argparse
       Arguments by command line

   Returns
   -------
   bool
       True if there is alchemical transformations
   """
       
   if args.smile==None and args.ifile==None:

      print("\n       ERROR!    Missing input molecule.\n")
      exit()

   alchemicalTransformation = False

   if args.smileB!=None or args.ifileB!=None: alchemicalTransformation = True

   if alchemicalTransformation:
    
      if args.chargeB==None: args.chargeB = args.charge
      if args.cgenB==None: args.cgenB = args.cgen
      if args.optB==None: args.optB = args.opt

   return alchemicalTransformation