Just hit it by trying out:
NotImplementedError: equality for 'Switch' and 'bool' types not yet implemented
NotImplementedError
Re: NotImplementedError
Thanks for the report. It's now fixed/implemented in the latest version (but this version won't be available from micropython.org/download until 00:15 GMT).