def __call__(self, value):
        try:
            return self.values[str(value).lower()]
        except __HOLE__:
            raise InvalidConfiguration("Error casting value {!r} to boolean".format(value))
dataset/ETHPy150Open osantana/prettyconf/prettyconf/casts.py/Boolean.__call__