def validate_setting(module, setting, param):
    if hasattr(setting, param):
        return True
    else:
        err_msg = "[%s]Error: no %s defined" % (module, param)
        return err_msg
Get a full user-friendly string representation of the error
dataset/ETHPy150Open openstack/compass-core/compass/actions/health_check/utils.py/validate_setting--crossover with--dataset/ETHPy150Open correl/Transmission-XBMC/resources/lib/basictypes/boundary.py/BoundaryError.__str__