languageserver_detect function

Detect whether a process relates to the R Language Server