The detection of polyazoles is important for both the environmental protection and homeland security.