Contains cursor boolean.

@param cursorId the cursor id
@return the boolean
359149
public boolean containsCursor(long cursorId) {
    if (cursorId < getData().firstCursorIndex) {
      return false;
    }
    return cursorId < (getData().firstCursorIndex + getData().cursorCount);
  }
840616
@Override
	public boolean hasNext() {

		validateState();

		if (!delegate.hasNext() && !isFinished()) {
			load(getCursorMark());
		}

		if (delegate.hasNext()) {
			return true;
		}

		return false;
	}
1336872
@Override
    public boolean contains(U unit) {

        for (Item<?> item : this.getTotalLength()) {
            if (item.getUnit().equals(unit)) {
                return (item.getAmount() > 0);
            }
        }

        return false;

    }
247231
public final boolean contains(E entry) {
        TreeEntry<E> e = getEntry(entry);
        return e != null;
    }
775035
public void setCursor(CursorMode cursorMode) {
        Cursor c = CursorMode.getAWTCursor(cursorMode);

        if (c.getType() == panel.getCursor().getType()) return;
        panel.setCursor(c);
    }
559804
public boolean contains(String id) {
        assertNotEmpty(id, "id");
        InputStream response = null;
        try {
            response = couchDbClient.head(new DatabaseURIHelper(dbUri).documentUri(id));
        } catch (NoDocumentException e) {
            return false;
        } finally {
            close(response);
        }
        return true;
    }
1062950
public CursorList<T> get() {
		final SQLiteDatabase db = Sprinkles.getDatabase();
		final Cursor c = db.rawQuery(rawQuery, null);
		return new CursorList<T>(c, resultClass);
	}
530016
public static boolean contains(String target, String... containWith) {
		return contains(target, Arrays.asList(containWith));
	}
1011649
@SuppressWarnings("unchecked")
	public <E> TerminalResult CONTAINS_elements(E... value) {
		getPredicateExpression().setOperator(Operator.CONTAINS);
		getPredicateExpression().setValue_2(value);
		TerminalResult ret = APIAccess.createTerminalResult(this.getPredicateExpression());
		QueryRecorder.recordInvocation(this, "CONTAINS_elements", ret, QueryRecorder.placeHolder(value));
		return ret;
	}
923445
public static boolean containsAllTrueElements(boolean[] arra,
            boolean[] arrb) {

        for (int i = 0; i < arra.length; i++) {
            if (arrb[i] && !arra[i]) {
                return false;
            }
        }

        return true;
    }
1303242
public boolean contains(String id) {
        Misc.checkNotNullOrEmpty(id, "id");
        try {
            getDocumentRev(id);
            return true;
        } catch (Exception e) {
            return false;
        }
    }
491592
public boolean contains(final String logicTableName) {
        return findTableRule(logicTableName).isPresent() || findBindingTableRule(logicTableName).isPresent() || isBroadcastTable(logicTableName);
    }
797729
public static <T> boolean contains(T needle, T...hayStack)
	{
		if(needle == null)
			return containsNull(hayStack);
		if(hayStack == null)
			return false;
		for(T hay : hayStack)
			if(needle.equals(hay))
				return true;
		return false;
	}
607791
boolean contains(Linked<?> e) {
        return (e.getPrevious() != null)
                || (e.getNext() != null)
                || (e == first);
    }
1265817
public boolean contains(int partitionId) {
        if (lowerID < upperID) { //"Proper" id range
            return lowerID <= partitionId && upperID > partitionId;
        } else { //Id range "wraps around"
            return (lowerID <= partitionId && partitionId < idUpperBound) ||
                    (upperID > partitionId && partitionId >= 0);
        }
    }
1227175
public <T> CursorIterable<T> asIterable() {
		PreparedQuery preparedQuery = getDatastoreService().prepare(transaction, query);
		QueryResultIterable<Entity> iterable = preparedQuery.asQueryResultIterable(fetchOptions);
		return new CursorIterableImpl<T>(classMetadata, predicate, iterable).setKeysOnly(isKeysOnly());
	}
730928
function isCursorKilled(cursor, callback) {
  if (cursor.s.killed) {
    setCursorNotified(cursor, callback);
    return true;
  }

  return false;
}