code: def has_partition_hash(self):
          
          return self._buffer is not None \
                 and len(self._buffer) >= HEAP_DATA_OVERHEAD \
                 and unpack_from(FMT_BE_INT, self._buffer, PARTITION_HASH_OFFSET)[0] != 0
docs: Determines whether this Data has partition hash or not.
  
          :return: (bool), ``true`` if Data has partition hash, ``false`` otherwise.