add a params.has?(key) method for determing if a param has been provided