original_string: public static function exists($name)
      {
          if (isset($_COOKIE[$name]) && !empty($_COOKIE[$name])) {
              return true;
          } else {
              return false;
          }
      }
code: public static function exists($name)
      {
          if (isset($_COOKIE[$name]) && !empty($_COOKIE[$name])) {
              return true;
          } else {
              return false;
          }
      }
code_tokens: public static function exists ( $ name ) { if ( isset ( $ _COOKIE [ $ name ] ) && ! empty ( $ _COOKIE [ $ name ] ) ) { return true ; } else { return false ; } }
docstring: Check if a cookie exists.
  
  @param string $name
  
  @return bool
docstring_tokens: Check if a cookie exists .