public boolean isGroupMapped ( String pGroupName ) { List < String > userGroups = this . getUserGroups ( ) ; for ( String g : userGroups ) { if ( g . equals ( pGroupName ) ) return true ; } return false ; }
Checked if the passed in GroupIName is mapped to the task