public boolean rosterExists(Date toDate)
  {
    if (startDate.getTime() == null) throw new InvalidQueryException("Nonexistent route");
    rosterIDs =  database.busDatabase.select_ids("service_id", "roster", "weekStart",toDate, "service_id");
    if(rosterIDs.length > 0)
      return true;
    else
    {
      RosterManager test = new RosterManager(startDate);
      test.createRoster();
      if(rosterIDs.length > 0)
        return true;
    }
    return false;
  }