I think it is about priority of operations. for both of the commands you do not need to write "is true". it is enough to write the phrase. but maybe python check (config is true) and it is false!