protected function hasFormMutator($key)
{
$methods = $this->getReflection()->getMethods(ReflectionMethod::IS_PUBLIC);
$mutator = collect($methods)->first(function (ReflectionMethod $method) use($key) {
return $method->getName() == 'form' . Str::studly($key) . 'Attribute';
});
return (bool) $mutator;
}