code: public static boolean isAProperty(Class theClass, String propertyName) {
  		if (theClass == null)
  			throw new IllegalArgumentException("theClass == null");
  		if (propertyName == null)
  			throw new IllegalArgumentException("propertyName == null");
  
  		if (getReadMethod(theClass, propertyName) != null)
  			return true;
  		if (getWriteMethod(theClass, propertyName) != null)
  			return true;
  		return false;
  	}
docs: Is the given name a property in the class? In other words, does it have a
  setter and/or a getter method?
  
  @param theClass the class to look for the property in
  @param propertyName the name of the property
  
  @return true if there is either a setter or a getter for the property
  
  @throws IllegalArgumentException if either argument is null