private boolean isTargetGroup ( final Group group ) { notNull ( group ) ; final String targetGroups = getTargetGroups ( ) ; // null, means all groups are target groups return targetGroups == null || targetGroups . contains ( group . getName ( ) ) ; }
Check if the provided group is a target group .