If this is the only place we check this boolean, inline the method call to "hasProgress()" here rather than assigning it to a temporary variable.