Symfony\Component\HttpFoundation\Session\Attribute\AttributeBagInterface::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