system/libary/cookie.php
/**
     * Check if cookie exist
     *
     * @param string $name
     * @return boolean
     */
Check if cookie exist
@param string $name
@return boolean
Check if cookie exist @param string $name @return boolean
public function has($name)
    {
        if (isset($_COOKIE[$name]))
            return true;
        else
            return false;
    }
public function has ( $ name ) { if ( isset ( $ _COOKIE [ $ name ] ) ) return true ; else return false ; }
Check if cookie exist
 @param string $name
 @return boolean
Check if cookie exist @param string $name @return boolean