def has_parameter(param, params):
 return params.has_key(param)

def has_parameter ( param , params ) : return params . has_key ( param )
checks whether the parameter param is present in the params map .