code: def pending_exists(self, hash):
          
  
          hash = self._process_value(hash, 'block')
  
          payload = {"hash": hash}
  
          resp = self.call('pending_exists', payload)
  
          return resp['exists'] == '1'
docs: Check whether block is pending by **hash**
  
          .. version 8.0 required
  
          :param hash: Hash of block to check if pending
          :type hash: str
  
          :raises: :py:exc:`nano.rpc.RPCException`
  
          >>> rpc.pending_exists(
              hash="000D1BAEC8EC208142C99059B393051BAC8380F9B5A2E6B2489A277D81789F3F"
          )
          True