get rid of the additional boolean value and redefine the method as follows:

default parameter: addparam(name, paramvariable, description, defaultvalue)
enforced parameter: addparam(name, paramvariable, description)