code: public static final boolean hasProperty(Object bean, String property)
      {
          try
          {
              return (boolean) doFor(
                  bean, 
                  property, 
                  null,
                  (Object a, int i)->{return true;},
                  (List l, int i)->{return true;},
                  (Object b, Class c, String p)->{getField(c, p);return true;}, 
                  (Object b, Method m)->{return true;});
          }
          catch (BeanHelperException ex)
          {
              return false;
          }
      }
docs: Return true if property exists.
  @param bean
  @param property
  @return