/** * Whether a given segment parameter is defined in the context. * * @param segmParameter parameter to check * @param contextInfo context Info * @return true if parameter is defined in the context and false otherwise. */ public boolean hasSegmentParameter(SegmentContextParameters segmParameter, ContextInfo contextInfo) { return hasTemplateParameter( new TemplateParameter(TemplateParameterContext.SEGMENT, segmParameter.getName()), contextInfo); }