Detecting multipartite classical states and their resemblances