code: public List<Object> stepsInstances(List<CandidateSteps> candidateSteps) {
          List<Object> instances = new ArrayList<>();
          for (CandidateSteps steps : candidateSteps) {
              if (steps instanceof Steps) {
                  instances.add(((Steps) steps).instance());
              }
          }
          return instances;
      }
docs: Returns the steps instances associated to CandidateSteps
  
  @param candidateSteps
  the List of CandidateSteps
  @return The List of steps instances