public function update(User $user, $option, $categoryKey)
    {
        if (!empty($option)) {
            return $user->hasPermission('options-update-' . $categoryKey);
        }
        return false;
    }
public function update(User $user, $option, $categoryKey)
    {
        if (!empty($option)) {
            return $user->hasPermission('options-update-' . $categoryKey);
        }
        return false;
    }
public function update ( User $ user , $ option , $ categoryKey ) { if ( ! empty ( $ option ) ) { return $ user -> hasPermission ( 'options-update-' . $ categoryKey ) ; } return false ; }
Policy for updating options for specified category

@param User   $user        User trying to do it
@param Option $option      Option class name
@param String $categoryKey option category

@return bool
Policy for updating options for specified category