Yes, generally contested matters (like custody battles) are billed hourly and uncontested matters are billed at a flat fee.

Consultation fees are waived for military and police officers.