def switchport_pvlan_mapping_remove?(should_primary)
      is_primary, is_range = switchport_pvlan_mapping

      if (is_primary != should_primary) && !is_primary.nil?
        cli_error_check(
          config_set('interface', 'switchport_pvlan_mapping',
                     name: @name, state: 'no', primary: '', vlan: ''))
        is_range = []
      end
      is_range
    end
def switchport_pvlan_mapping_remove?(should_primary)
      is_primary, is_range = switchport_pvlan_mapping

      if (is_primary != should_primary) && !is_primary.nil?
        cli_error_check(
          config_set('interface', 'switchport_pvlan_mapping',
                     name: @name, state: 'no', primary: '', vlan: ''))
        is_range = []
      end
      is_range
    end
--------------------------
 switchport_pvlan_mapping_remove?
 This is a helper to check if command needs to be removed entirely.

 should_primary: the new primary vlan value
        Returns: the current vlan range