```\n      function canInitSwap(address subAccount, address inputToken, uint256 interval, uint256 lastSwap)\n          external view returns (bool)\n        {\n      if (hasZeroBalance(subAccount, inputToken)) \n          { return false;\n        }\n      return ((lastSwap + interval) < block.timestamp);\n      }\n```\n