docstr: Returns self == 0
docstr_tok: ["Returns","self","==","0"]
code: def _eqz_2PC(self):
      """Returns self == 0"""
      # Create BinarySharedTensors from shares
      x0 = MPCTensor(self.share, src=0, ptype=Ptype.binary)
      x1 = MPCTensor(-self.share, src=1, ptype=Ptype.binary)
  
      # Perform equality testing using binary shares
      x0._tensor = x0._tensor.eq(x1._tensor)
      x0.encoder = self.encoder
  
      # Convert to Arithmetic sharing
      result = x0.to(Ptype.arithmetic, bits=1)
      result.encoder._scale = 1
  
      return result
  
imports: import torch
  from .None import communicator
  from .common.tensor_types import is_tensor
  from .common.util import torch_stack
  from .config import cfg
  from .cryptensor import CrypTensor
  from .cuda import CUDALongTensor
  from .encoder import FixedPointEncoder
  from .primitives.binary import BinarySharedTensor
  from .primitives.converters import convert
  from .ptype import ptype
label_desc: Use image node_id 25 for calling the MPCTensor obj's underlying member method code with example usage: obj._eqz_2PC() and returns: result