code: public static boolean isPropertySettable(
                      final Class<?> clazz,
                      final String propertyName
                      )
      {
          if (clazz == null) {
              throw new IllegalArgumentException( "no class specified" );
          }
  
          if (propertyName == null) {
              throw new IllegalArgumentException( "no property specified" );
          }
  
          PropertyAccessor  accessor = _findAccessor( clazz, propertyName );
  
          return (accessor == null ? false : accessor.isSettable());
      }
docs: Tests if the property value of the specified class can be set.
  
  @return
  true if the property value can be set.