code: public static SimonType getValueFromInstance(Sample sample) {
  		return sample == null ? null : getValueFromSampleType(sample.getClass());
  	}
docs: Get simon type from simon sample instance.
  
  @param sample Simon sample
  @return Type