added parameter to decided if gsettings is executed or not

Added a parameter to modify the value that the "unless" condition verifies. It's useful when the value is an array. Because a value parameter like an array contain already simple quotes and you have to declare the array with double quotes and the problem is that the unless or respectively the grep command search the array with double quotes.