Checks if an attribute is defined.
@api
string $name The attribute name:
Boolean true if the attribute is defined, false otherwise
Overrides SessionInterface::has
public function has($name) {
return $this->storage
->getBag($this->attributeName)
->has($name);
}