#include #include namespace DB { bool isDiskFunction(ASTPtr ast) { if (!ast) return false; const auto * function = ast->as(); return function && function->name.starts_with("disk") && function->arguments->as(); } }