public boolean hasUserGroupsToAlert(){
  return userGroupsToAlert != null && !userGroupsToAlert.isEmpty();
}

public boolean hasUserGroupsToAlert ( ) { return userGroupsToAlert != null && ! userGroupsToAlert . isEmpty ( ) ; }
indicates whether this group has user roles to alert .
