public function hasAttribute($name, $context) { return array_key_exists($name, $context->request->header); }