Is reentrancy guard needed for @openzeppelin/contracts: 4.8.2?

Hello,

I have an ERC1155 smart contract that I used @openzeppelin/contracts: 4.8.2 for development.
With the introduction of v5 of contracts, I have noticed reentrancy attack warnings on erc1155 documentation.

Following contracts where used:

import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155URIStorage.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

I was wondering if reentrancy guard is also needed for older versions. If so, how do I implement it for erc1155?

Thank you