@Override
    public boolean hasCoprocessor(String classNameToMatch) {
      return getCoprocessorDescriptors().stream()
        .anyMatch(cp -> cp.getClassName().equals(classNameToMatch));
    }
Check if the table has an attached co-processor represented by the name className
@param classNameToMatch - Class name of the co-processor
@return true of the table has a co-processor className
hbase-client/src/main/java/org/apache/hadoop/hbase/client/TableDescriptorBuilder.java