Replace class_exist with container modules
Problem/Motivation
Since core introduced some fallbacks to the class loader, the usage of class_exist could result in false positives.
Proposed resolution
Replace the usage of it in \Drupal\eca\EcaServiceProvider with the container modules.
Edited by drupalbot