code: public static Context getContextByName(String contextName) throws ApiException {
  		Context context = Model.getSingleton().getSession().getContext(contextName);
  		if (context == null) {
  			throw new ApiException(ApiException.Type.DOES_NOT_EXIST, contextName);
  		}
  		return context;
  	}
docs: Returns the {@code Context} with the given name.
  
  @param contextName the name of the context
  @return the {@code Context} with the given name
  @throws ApiException If the context with the given name does not exist
  @since 2.4.3
  @see #getContextByName(JSONObject, String)