{
    "Function": "canHarvest",
    "File": "contracts/v3/Harvester.sol",
    "Parent Contracts": [
        "contracts/v3/interfaces/IHarvester.sol"
    ],
    "High-Level Calls": [
        "SafeMath"
    ],
    "Internal Calls": [],
    "Library Calls": [
        "sub"
    ],
    "Low-Level Calls": [],
    "Code": "function canHarvest(\n        address _vault\n    )\n        public\n        view\n        returns (bool)\n    {\n        Strategy storage strategy = strategies[_vault];\n        // only can harvest if there are strategies, and when sufficient time has elapsed\n        return (strategy.addresses.length > 0 && strategy.lastCalled <= block.timestamp.sub(strategy.timeout));\n    }"
}