public function pluginFromSku(SKU $sku) {
    if (empty($sku)) {
      return NULL;
    }

    $bundle = $sku->getType();

    if (empty($bundle)) {
      return NULL;
    }

    $plugin = NULL;

    try {
      $plugin = $this->getDefinition($bundle);
    }
    catch (PluginNotFoundException $exception) {
      \Drupal::logger('acm_sku')->notice(t("Bundle @bundle doesn't appear to
        have an implementation, please check the plugin id on your implementation
        of the SKU plugin", ['@bundle' => $bundle]));
    } finally {
      return $plugin;
    }
  }