code: public static CIP_CHIRALITY getCIPChirality(LigancyFourChirality stereoCenter) {
          ILigand[] ligands = order(stereoCenter.getLigands());
          LigancyFourChirality rsChirality = stereoCenter.project(ligands);
  
          boolean allAreDifferent = checkIfAllLigandsAreDifferent(ligands);
          if (!allAreDifferent) return CIP_CHIRALITY.NONE;
  
          if (rsChirality.getStereo() == Stereo.CLOCKWISE) return CIP_CHIRALITY.R;
  
          return CIP_CHIRALITY.S;
      }
docs: Returns the R or S chirality according to the CIP rules, based on the given
  chirality information.
  
  @param  stereoCenter Chiral center for which the CIP chirality is to be
  determined as {@link LigancyFourChirality} object.
  @return A {@link CIP_CHIRALITY} value.