public static boolean hasProperty(Object object, String propertyName) {
        return hasReadProperty(object, propertyName) && hasWriteProperty(object, propertyName);
    }
public static boolean hasProperty(Object object, String propertyName) {
        return hasReadProperty(object, propertyName) && hasWriteProperty(object, propertyName);
    }
public static boolean hasProperty ( Object object , String propertyName ) { return hasReadProperty ( object , propertyName ) && hasWriteProperty ( object , propertyName ) ; }
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
Examines the given object s class and returns true if reader and writer methods both exist for the given property name .