code: public function supports(ParamConverter $configuration)
      {
          $options = $configuration->getOptions();
  
          return !empty($options['service']) && !empty($options['method']);
      }
docs: @param ParamConverter $configuration
  
  @return bool