code: private static boolean containsSection(String contents, String beginToken, String endToken) {
  		int idxToken;
  		if ((idxToken = contents.indexOf(beginToken)) == -1 || contents.indexOf(endToken) < idxToken) {
  			return false;
  		}
  		return true;
  	}
docs: Tells whether or not the given ({@code .pem} file) contents contain a section with the given begin and end tokens.
  
  @param contents the ({@code .pem} file) contents to check if contains the section.
  @param beginToken the begin token of the section.
  @param endToken the end token of the section.
  @return {@code true} if the section was found, {@code false} otherwise.