How to get checkbox multi-option Zend Form array values in View

We can get the Multi-option values set in Zend Form and to compare the values in the view using the following function.

Ex: $multiValues = $this->form->getElement('all_users')->getMultiOptions();
In the 'all_users' is the form elememnt name in the Form