def hook_for(self, configurable_class, action):
configurable_class_name = configurable_class.__name__.lower()<EOL>return getattr(<EOL>self,<EOL>"<STR_LIT>" + configurable_class_name + "<STR_LIT:_>" + action,<EOL>None<EOL>)<EOL>
Helper method for determining if an on_<configurable class>_<action>
method is present, to be used as a hook in the add/update/remove
configurable methods.