private static boolean epersonInGroup(Context c, int groupID, EPerson e) throws SQLException { Set<Integer> groupIDs = Group.allMemberGroupIDs(c, e); return groupIDs.contains(Integer.valueOf(groupID)); }