return q.countAll() > 0;
// return ofy.prepare(q).asSingle() != null;
}
public static UserEntity findByName(String name) {
UserEntity role = null;
try {
Objectify ofy = OS.begin();
// OQuery<UserEntity> q = OS.createQuery(UserEntity.class);
Query<WikiUser> q = ofy.query(WikiUser.class);
return ofy.get(UserEntity.class, name);