code: public function supportsEvent($eventId)
      {
          $supportedEvents = [WatcherInterface::CREATE_EVENT, WatcherInterface::MODIFY_EVENT, WatcherInterface::DELETE_EVENT, WatcherInterface::ALL_EVENT];
          return array_search($eventId, $supportedEvents, true) !== false;
      }
docs: See if the supplied event identifier is supported by Watcher
  
  @param $eventId