code: protected String isGetter(final Method<?, ?> method)
     {
  
        String methodName = method.getName();
        String propertyName;
  
        if (methodName.startsWith(ClassUtils.JAVABEAN_GET_PREFIX))
        {
           propertyName = methodName.substring(ClassUtils.JAVABEAN_GET_PREFIX.length());
  
        }
        else if (methodName.startsWith(ClassUtils.JAVABEAN_IS_PREFIX)
                 && method.getReturnType() != null && boolean.class.equals(method.getReturnType().getQualifiedName()))
        {
  
           // As per section 8.3.2 (Boolean properties) of The JavaBeans API specification, 'is'
           // only applies to boolean (little 'b')
  
           propertyName = methodName.substring(ClassUtils.JAVABEAN_IS_PREFIX.length());
        }
        else
        {
           return null;
        }
  
        return StringUtils.decapitalize(propertyName);
     }
docs: Returns whether the given method is a 'getter' method.
  
  @param method a parameterless method that returns a non-void
  @return the property name