english/libraries/joomla/session/session.php
/**
	 * Check whether data exists in the session store
	 *
	 * @param   string  $name       Name of variable
	 * @param   string  $namespace  Namespace to use, default to 'default'
	 *
	 * @return  boolean  True if the variable exists
	 *
	 * @since   11.1
	 */
Check whether data exists in the session store
@param   string  $name       Name of variable
@param   string  $namespace  Namespace to use, default to 'default'

@return  boolean  True if the variable exists


Check whether data exists in the session store @param string $name Name of variable @param string $namespace Namespace to use default to ' default ' @return boolean True if the variable exists
public function has($name, $namespace = 'default')
	{
		$namespace = '__'.$namespace;
		if ($this->_state !== 'active') {
			return null;
		}
		return isset($_SESSION[$namespace][$name]);
	}
public function has ( $ name , $ namespace = 'default' ) { $ namespace = '__' . $ namespace ; if ( $ this -> _state !== 'active' ) { return null ; } return isset ( $ _SESSION [ $ namespace ] [ $ name ] ) ; }
Check whether data exists in the session store
 @param   string  $name       Name of variable
 @param   string  $namespace  Namespace to use, default to 'default'
Check whether data exists in the session store @param string $name Name of variable @param string $namespace Namespace to use default to ' default '
// Add prefix to namespace to avoid collisions. // @TODO :: generated error here