Added hasParameter to discover if a value is set