Checks if an attribute is defined.
string $name The attribute name:
Boolean true if the attribute is defined, false otherwise
Overrides AttributeBag::has
public function has($name) {
$attributes = $this
->resolveAttributePath($name);
$name = $this
->resolveKey($name);
if (null === $attributes) {
return false;
}
return array_key_exists($name, $attributes);
}