code: func (c *MemberlistManager) IsPrimary() bool {
  	c.RLock()
  	defer c.RUnlock()
  	return c.members[c.nodeName].Primary
  }
docs: // Returns true if the this node is a set as a primary node that should write data to cassandra.