the method name says ``check``, which makes me believe this will return a boolean. but instead it does an assignment. this needs a better method name (and possibly a docstring).

Also please use underscore-prefixed attributes for magic properties