public function doPathValidate(string $pathValue = null, $isWritable = true)
    {
        if ($pathValue != null) {
            if (!is_dir($pathValue)) {
                throw new ConfigSettingFailException("`{$pathValue}` does NOT existed", '400');
            }

            if ($isWritable == true) {
                if (!is_writable($pathValue)) {
                    throw new ConfigSettingFailException("`{$pathValue}`is NOT writable", '400');
                }
            }

        }
    }