That's a pretty broad question, with multiple possibilities of answers hey.
If the state/ territory states you must, you must.
But even then some places are off limits, and can also be controlled/ governed by the local council.
Bit like detecting in parks etc.
"Dial before you dig"!