```\nfunction _nonReentrantBefore() private {\n    // On the first call to nonReentrant, _status will be _NOT_ENTERED\n    require(_status != _ENTERED, "ReentrancyGuard: reentrant call");\n\n    // Any calls to nonReentrant after this point will fail\n    _status = _ENTERED;\n}\n```\n