public static bool IsFile(string url)
 {
     return(AppFile.Exists(ConvertToAppPath(url)));
 }
        public static bool Exists(string url)
        {
            var appPath = ConvertToAppPath(url);

            return(AppFile.Exists(appPath) || AppDirectory.Exists(appPath));
        }