check if class in a LogStash::Plugin