I have the below function where I am checking the values of a hash request and if it has any key with value on, I am updating it to true
request
on
true