public function hasGetMutator($key) { return method_exists($this, 'get' . Str::studly($key) . 'Attribute'); }