Should a court consider an application for a writ of habeas corpus - a legal action to secure the liberty of a detainee - when the applicant is already freed?

Should a court consider an application for a writ of habeas corpus - a legal action to secure the liberty of a detainee - when the applicant is already freed?
Please join the Malaysiakini WhatsApp Channel to get the latest news and views that matter.