code: public function checkSignCode(array $params, $secret)
      {
          if (false === isset($params[self::SIGN_NAMESPACE])) {
              return false;
          }
  
          return $params[self::SIGN_NAMESPACE] === $this->generateSignCode($params, $secret);
      }
docs: Check sign code for request
  
  @param array $params
  @param string $secret
  @return boolean