How to receive any type NFT?

:1234: Code to reproduce

require(IERC721(_erc721).supportsInterface(0x80ac58cd),
"Parameter _erc721 is not ERC721 contract address");

:computer: Environment

My contract wants to receive all types of NFT for mortgage, but cryptopunk cannot be verified by supportsinterface

So how do I handle and receive all NFTs?