code: 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;
      }
docs: Checks if all roles are played.
  
  @param role the role to check.
  @param r the roles that all have to be played
  @return true or false.