public static function exists(string $view): bool
    {
        $pos = strpos($view, ':');

        if ($pos === false) {
            $path = Application::getViewPath() . $view . '.phtml';
        } else {
            $path = dirname(substr(Application::getViewPath(), 0, -1)) . DS . 'modules' . DS . substr($view, 0, $pos) . DS . 'views' . DS . substr($view, $pos + 1) . '.phtml';
        }


        return is_file($path);
    }