func (_m *Configuration) IsLeader() bool {
	ret := _m.Called()

	var r0 bool
	if rf, ok := ret.Get(0).(func() bool); ok {
		r0 = rf()
	} else {
		r0 = ret.Get(0).(bool)
	}

	return r0
}
// IsLeader provides a mock function with given fields:
IsLeader provides a mock function with given fields.
// IsLeader provides a mock function with given fields :
func (_m *Configuration) IsLeader() bool {
	ret := _m.Called()
	var r0 bool
	if rf, ok := ret.Get(0).(func() bool); ok {
		r0 = rf()
	} else {
		r0 = ret.Get(0).(bool)
	}
	return r0
}
func ( _m * Configuration ) IsLeader ( ) bool { ret := _m . Called ( ) var r0 bool if rf , ok := ret . Get ( 0 ) . ( func ( ) bool ) ; ok { r0 = rf ( ) } else { r0 = ret . Get ( 0 ) . ( bool ) } return r0 }
IsLeader provides a mock function with given fields.
IsLeader provides a mock function with given fields .