[python] When to use 'raise NotImplementedError'?