up to you, you can use abstract base classes [ https://docs.python.org/2/library/abc.html ]