class UserUtils {
	
	public static boolean userInGroup(User user,String groupName) {<FILL_FUNCTION_BODY>}

}

		
		
		
		List<Group> logedInUserGroups = user.getGroups();
		for(Group group : logedInUserGroups) {
			if(group.getGroupName().equals(groupName)) {
				return true;
			}
		}
		
		return false;
		
	
<no_super_class>