judge exist before call redis class