```\n    if (\n      RiskFactorCalculator.canCalculateRiskFactor(\n        _totalCapital,\n        _leverageRatio,\n        _poolParameters.leverageRatioFloor,\n        _poolParameters.leverageRatioCeiling,\n        _poolParameters.minRequiredCapital\n      )\n    ) {\n      // rest of code\n    } else {\n      /// This means that the risk factor cannot be calculated because of either\n      /// min capital not met or leverage ratio out of range.\n      /// Hence, the premium is the minimum premium\n      _isMinPremium = true;\n    }\n```\n