Check whether a session variable is set in an application context

@param string $name

@return bool
972955
public function has($name)
    {
        $context = $this->_context;

        if (!$context->started) {
            $this->_start();
        }

        return isset($context->_SESSION[$name]);
    }
90127
public function has($name)
    {
        $value = $this->get($name);

        return isset($value) ? $value : false;
    }
680755
public function __isset($name)
    {
        return isset($this->attributes[$name]) && null !== $this->attributes[$name];
    }
459676
public function __isset($name)
    {
        foreach ($this->values as $valueObject) {
            if ($valueObject->getAttribute()->getName() == $name) {
                return true;
            }
        }

        return false;
    }
7982
private function hasErrors($name)
    {
        if (is_null($this->session) || !$this->session->has('errors')) {
            return false;
        }
        // Get errors session
        $errors = $this->getErrorsSession();

        return $errors->has($this->transformKey($name));
    }
17565
public function __isset($name) {
        if (array_key_exists($name, self::$coursecatfields)) {
            return isset($this->$name);
        }
        return false;
    }
954203
public function __isset($name) 
    {
        $getter = 'get' . $name;
        if (method_exists($this, $getter)) {
            return $this->$getter() !== null;
        }
        
        $name = strtolower($name);
        
        return array_key_exists($name, $this->attrs);
    }
714177
public function __isset(string $name): bool
    {
        try {
            $value = $this->__get($name);

            $result = ($value !== null);
        } catch (Exception $e) {
            $result = false;
        }

        return $result;
    }
443599
public function __isset($name)
    {
        if ($this->has($name, true)) {
            return true;
        } else {
            return parent::__isset($name);
        }
    }
660448
public static function IsAuthenticated ($name = self::DEFAULT_CONNECTION_NAME) {
		return isset(static::$_loginUserName[$name]) && static::$_loginUserName[$name] !== null;
	}
437511
public function __isset($name)
    {
        if (is_object($this->value)) {
            return isset($this->value->{$name});
        }

        if (is_array($this->value) || $this->value instanceof ArrayObject) {
            return isset($this->value[$name]);
        }

        return false;
    }
1220776
public function __isset($name) {
		// Property exists
		if (isset($this->_data[$name])) {
			return true;
		}
		
		// Init method exists
		if (method_exists($this, lcfirst($name) . self::INIT_POSTFIX)) {
			return true;
		}
		
		// Init source exists
		if (! empty($this->_sources[$name])) {
			return true;
		}
		
		return false;
	}
1353225
public function has($name): bool
    {
        $key = $this->getCacheKey($name);

        return $this->handler->get($key) ? true : false;
    }
85680
public function __isset($name)
    {
        $camelizeName = $this->__buildCamelizeName($name);

        $getter = 'get' . $camelizeName;
        if (method_exists($this, $getter))
        {
            return null !== $this->$getter();
        }
        else
        {
            return false;
        }
    }
1267946
public static function set($name, $value)
    {
        return (self::has($name) !== true) ? $_SESSION[$name] = $value : false;
    }
120702
public function __isset( $name ) {

		$name = (string) $name;

		if ( in_array( $name, array( '_data', 'data', 'total', 'total_rows', 'zebra' ), true ) ) {
			return true;
		} elseif ( in_array( $name, array( 'meta', 'meta_properties', 'meta_extra' ), true ) ) {
			return true;
		} else {
			return isset( $this->new->{$name} );
		}
	}
961948
public function __isset($name)
    {
        $normalized = lcfirst($name);
        $property = "_{$normalized}";
        if (property_exists($this, $property)) {
            return true;
        }
        return false;
    }