Source Detection

Which model can do things like Coeleak, In particular I am interested in a model that receives any text and detects whether it is a source code