Check the type of 'True' after reading from YAML file (it should be boolean)
Check the type of 'True' after reading from YAML file (it should be boolean)