// Get current state of f2f mode.
Get current state of f2f mode.
// Get current state of f2f mode .
func (f2f *friendToFriend) State() bool {
	f2f.mutex.Lock()
	defer f2f.mutex.Unlock()
	return f2f.enabled
}
func ( f2f * friendToFriend ) State ( ) bool { f2f . mutex . Lock ( ) defer f2f . mutex . Unlock ( ) return f2f . enabled }
Get current state of f2f mode.
Get current state of f2f mode .