Yes, sometimes they do come and check when got people complain.
you will see some dog with green, yellow or other color iron tag on the neck de, that is the permit and the color is changing every year.
the permit cost around rm25 to 50 only (not really remember).
but if u keep ur dog...