public boolean checkForMonitors() {
		if (isMonitorSet() == true) {
			return true;
		}

		synchronized (this.connections) {
			for (int i = 0; i < this.connections.size(); i++) {
				TSConnection conn = (TSConnection) this.connections
						.elementAt(i);
				if (conn.getTSDevice().isMonitorSet()) {
					return true;
				}
				Vector<?> termConns = conn.getTermConns();
				if (termConns != null) {
					synchronized (termConns) {
						for (int j = 0; j < termConns.size(); j++) {
							TSConnection termconn = (TSConnection) termConns
									.elementAt(j);
							if (termconn.getTSDevice().isMonitorSet()) {
								return true;
							}
						}
					}
				}
			}

		}

		return false;
	}