code: public boolean isLinked(ParaObject obj, ParaObject toObj) {
  		if (obj == null || obj.getId() == null || toObj == null || toObj.getId() == null) {
  			return false;
  		}
  		return isLinked(obj, toObj.getType(), toObj.getId());
  	}
docs: Checks if a given object is linked to this one.
  @param toObj the other object
  @param obj the object to execute this method on
  @return true if linked