Question:How to know if resetZoom() is already applied to a diagram

I need to show visibility of resetZoom button. where i hooked resetZoom() command.
How i can know if resetZoom() is already applied and resetZoom is no longer needed(nodes are in normal zoom fit) and disable resetZoom button?

Do you want to disable that command when Diagram.scale == CommandHandler.defaultScale?

Is that different from if dia.scale==1 ?
I tried above its not working.
Defaultscale isn’t 1?