sentinel.go
func (s *Slave) Available() bool {
	return !strings.Contains(s.flags, "disconnected") && !strings.Contains(s.flags, "s_down")
}
func (s *Slave) Available() bool {
	return !strings.Contains(s.flags, "disconnected") && !strings.Contains(s.flags, "s_down")
}
func ( s * Slave ) Available ( ) bool { return ! strings . Contains ( s . flags , " " ) && ! strings . Contains ( s . flags , " " ) }
// Available returns if slave is in working state at moment based on information in slave flags.
Available returns if slave is in working state at moment based on information in slave flags .