You can use `isset($options['groups'])` instead.