if (isset($options['required'])) && $options['required'] !== false) perhaps?