No! It is not mandatory. But it becomes mandatory to serve a notice under Section 80 of the Code of Civil Procedure if a person plans to file a suit against the Government or Government body.