Update Params.cpp

adding .key function for bool variable.