if ( $this->hasOption( 'custom-groups' ) ) {
$customGroupsText = $this->getOption( 'custom-groups' );
if ( $customGroupsText !== '' ) {
if ( $this->hasOption( 'custom-groups' ) ) {
$customGroupsText = $this->getOption( 'custom-groups' );
if ( $customGroupsText !== '' ) {