code: public boolean containsMethod(final String name) {
        if (StringUtils.isNullOrBlank(name)) {
           return false;
        }
        return ClassDescriptorCache.getInstance()
                                   .getClassDescriptor(clazz)
                                   .getMethods(accessAll)
                                   .stream()
                                   .anyMatch(f -> f.getName().equals(name));
     }
docs: Contains method.
  
  @param name the name
  @return the boolean