code: public static boolean is(Method method, boolean acceptPrefixless) {
          int length = method.getName().length();
  
          if (method.isPrivate() || method.isStatic()) {
              return false;
          }
  
          if (!method.getArguments().isEmpty()) {
              return false;
          }
  
          if (method.getReturnType().equals(VOID)) {
              return false;
          }
  
          if (acceptPrefixless) {
              return true;
          }
  
          if (method.getName().startsWith(GET_PREFIX)) {
              return length > GET_PREFIX.length();
          }
  
          if (method.getName().startsWith(IS_PREFIX) && TypeUtils.isBoolean(method.getReturnType())) {
              return length > IS_PREFIX.length();
          }
  
          if (method.getName().startsWith(SHOULD_PREFIX) && TypeUtils.isBoolean(method.getReturnType())) {
              return length > SHOULD_PREFIX.length();
          }
          return false;
      }
docs: Checks if the specified method is a getter.
  @param method                The method.
  @param acceptPrefixless     Flag to enable support of prefixless getters.
  @return