Symfony\Component\HttpFoundation\Session\SessionInterface::has
Checks if an attribute is defined.
Signature
public function has(string
$name )
Parameters
$name
— string- The attribute name
Returns
- Boolean
- true if the attribute is defined, false otherwise