private boolean compareAdminAttributes(AdminAttributes attr1, AdminAttributes attr2) {
		return (attr1.getId().equals(attr2.getId()) &&
				attr1.getHost().equals(attr2.getHost()) &&
				attr1.getIp().equals(attr2.getIp()) && (attr1.getPid() == attr2.getPid()));
	}
Check if the admin attributes equal.

@param attr1 admin attributes
@param attr2 admin attributes
@return true if the admin attributes match
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/container/store/ZooKeeperAdminRepositoryTests.java