code: public static boolean isGetter(String name, Class returnType, Class<?>[] args) {
          if (name == null || name.length() == 0 || args == null)return false;
          if (args.length != 0)return false;
  
          if (name.startsWith("get")) {
              name = name.substring(3);
              if (isPropertyMethodSuffix(name)) return true;
          }
          else if (name.startsWith("is") && returnType == boolean.class) {
              name = name.substring(2);
              if (isPropertyMethodSuffix(name)) return true;
          }
          return false;
      }
docs: Returns true if the name of the method specified and the number of arguments make it a javabean property getter.
  The name is assumed to be a valid Java method name, that is not verified.
  
  @param name The name of the method
  @param returnType The return type of the method
  @param args The arguments
  @return true if it is a javabean property getter