How To Recognize When To Use A Design Pattern In Python