ReentrancyGuard: Add a _reentrancyGuardEntered function to expose the guard status.
ReentrancyGuard
_reentrancyGuardEntered
pr: #3714