Since the discovery of antibiotics in the first quarter of the twentieth century, their use has been the principal approach to treat bacterial infection. Modernized medicine such as cancer therapy, organ transplantation or advanced major surgeries require effective antibiotics to manage bacterial infections. However, the irresponsible use of antibiotics along with the lack of development has led to the emergence of antimicrobial resistance which is considered a serious global threat due to the rise of multidrug-resistant bacteria (Wang et al. in Antibiotic resistance: a rundown of a global crisis, pp. 1645-1658, 2018). Currently employed diagnostics techniques are microscopy, colony counting, ELISA, PCR, RT-PCR, surface-enhanced Raman scattering and others. These techniques provide satisfactory selectivity and sensitivity (Joung et al. in Sens Actuators B Chem 161:824-831, 2012). Nevertheless, they demand specialized personnel and expensive and sophisticated machinery which can be labour-intensive and time-consuming, (