public function hasConfig(string $key)
    {
        $redis = $this->getDI()->getRedis();
        $hashKey = $this->getNotificationKey(); //'user_notifications_'.$this->user_id;

        return $redis->hGet($hashKey, $key);
    }
public function hasConfig(string $key)
    {
        $redis = $this->getDI()->getRedis();
        $hashKey = $this->getNotificationKey(); //'user_notifications_'.$this->user_id;

        return $redis->hGet($hashKey, $key);
    }
public function hasConfig ( string $ key ) { $ redis = $ this -> getDI ( ) -> getRedis ( ) ; $ hashKey = $ this -> getNotificationKey ( ) ; //'user_notifications_'.$this->user_id; return $ redis -> hGet ( $ hashKey , $ key ) ; }
does the user as the configuration on?

@param  $key string
@return boolean
does the user as the configuration on?