code: public static boolean hasProperty(Object object, String propertyName) {
          return hasReadProperty(object, propertyName) && hasWriteProperty(object, propertyName);
      }
docs: Examines the given object's class and returns true if reader and writer methods both exist for the
  given property name.
  @param object the object for which the class should be examined
  @param propertyName the property name to search
  @return true if both reader and writer methods exist