public boolean isBanned() { for (final BanRecord ban : this.getBans()) { if (ban.getState() == BanRecord.State.NORMAL) { return true; } } return false; }
public BanRecord getActiveBan() { for (final BanRecord ban : this.getBans()) { if (ban.getState() == BanRecord.State.NORMAL) { return ban; } } return null; }