def METHOD_NAME(self):
    # This style will save the getattr call but takes more time to code
    if 'lnphis' in self.other_props:
        return self.phases[self.other_props['lnphis']].METHOD_NAME()
    if self.equilibrium is not None:
        return self.phases[self.equilibrium].METHOD_NAME()
    raise ValueError("No method specified")