new function: isFailureModel