src/Koldy/Route.php
public static function is(string $controller, string $action): bool
    {
        return $controller == Application::route()->getControllerUrl() && $action == Application::route()->getActionUrl();
    }
public static function is(string $controller, string $action): bool
    {
        return $controller == Application::route()->getControllerUrl() && $action == Application::route()->getActionUrl();
    }
public static function is ( string $ controller , string $ action ) : bool { return $ controller == Application :: route ( ) -> getControllerUrl ( ) && $ action == Application :: route ( ) -> getActionUrl ( ) ; }
Are given controller and action current working controller and action?

@param string $controller in the url format
@param string $action in the url format

@return bool
@throws Exception
Are given controller and action current working controller and action?