public static boolean playsAll ( Role role , String ... r ) { if ( role == null ) { return false ; } for ( String s : r ) { if ( ! role . value ( ) . contains ( s ) ) { return false ; } } return true ; }
Checks if all roles are played .