Can a lawyer advise on filing a writ petition?