question: public static boolean hasRole ( String roleName ) { for ( String role : getRoles ( ) ) { if ( role . equalsIgnoreCase ( roleName ) ) { return true ; } } return false ; }
target:  Tell whether the passed role is set?