cbd2f38da0
Refactored the code to convert string values to boolean for conditional checks and update the `changed_when` attribute accordingly.