Update Params.cpp

adding .key function for bool variables