def _check_current_value(gnome_kwargs, value):
 current_value = __salt__['gnome.get'](**gnome_kwargs)
 return (str(current_value) == str(value))

def _check_current_value ( gnome_kwargs , value ) : current_value = __salt__ [ 'gnome.get' ] ( ** gnome_kwargs ) return ( str ( current_value ) == str ( value ) )
check the current value with the passed value .