Is there a way to overload the hasattr method (by default it calls __getattr__ and checks for an exception. However, my __getattr__ can be a heavy hit that I'd rather avoid for hasattr calls.) If not, perhaps a feature for the next minor revision?