if this has '__', then you should not use it directly. The pythonic version is if 'workdir' in command