Returns true if there are no tokens in the map
indicating that no active suspends exist.
@return
188501
boolean isResumable()
    {
    	if (tc.isEntryEnabled()) Tr.entry(tc, "isResumable");
        
        boolean isResumable = true;
        
        synchronized(_tokenMap)
        {
            if (!_tokenMap.isEmpty())
            {
            	isResumable = false;
            }
        }
        
        if (tc.isEntryEnabled()) Tr.exit(tc, "isResumable", new Boolean(isResumable));
        
        return isResumable;
    }
525393
public boolean isActive()
    {
        FacesContext facesContext = FacesContext.getCurrentInstance();
        if (facesContext != null)
        {
            return facesContext.getViewRoot() != null;
        }
        else
        {
            // No FacesContext means no view scope active.
            return false;
        }
    }
359226
public boolean isEmpty()
    {
        if (m_filter != null)
            return false;   // Not empty
        if (m_mapNameValue != null)
            if (m_mapNameValue.size() != 0)
                return false;   // Not empty;
        return true;
    }
882050
@Override
    public boolean isPaused() {

        //Add each pauseable component to this list. If the tracked values get modified
        //while we are iterating and we start over, skip anyone already in this list
        Set<PauseableComponent> processedList = new HashSet<PauseableComponent>();

        // Sync with other methods changing/querying states for PauseableComponents
        synchronized (this) {
            while (true) {
                try {
                    if (tracker.getTrackingCount() == 0) {
                        // No pauseable components.
                        return false;
                    }
                    for (PauseableComponent pauseableComponent : tracker.getTracked().values()) {

                        if (processedList.add(pauseableComponent)) {
                            // All pauseable components need to be paused in order for the server to be called paused.
                            // If one component is not paused, the server is not paused.
                            if (!pauseableComponent.isPaused()) {
                                return false;
                            }
                        }
                    }
                    //At this point, there were pauseable components found and all are paused.
                    return true;

                } catch (Throwable t) {
                    // Someone modified our list of services. Retry.
                }
            }
        }
    }
447053
public boolean isActive() {
		final long now = System.currentTimeMillis();
		final long start = values.getStart();
		final long end = start + values.getLeft();
		// TODO : Ensure predicate consistency.
		return now >= start && now <= end;
	}
135269
@Pure
	public boolean isEndingBusHalt() {
		final BusItinerary itinerary = getContainer();
		if (itinerary != null && itinerary.isValidPrimitive()) {
			final int count = itinerary.getValidBusHaltCount();
			if (count > 0) {
				try {
					return itinerary.getBusHaltAt(count - 1) == this;
				} catch (IndexOutOfBoundsException exception) {
					// invalid halt
				}
			}
		}
		return false;
	}
230958
@Override
	public boolean isInstantiated() {
		if (getPotentialNodes().size() != getMandatoryNodes().size()) {
			return false;
		}
		ISet suc;
		for (int i : getUB().getNodes()) {
			suc = UB.getSuccOrNeighOf(i);
			if (suc.size() != getLB().getSuccOrNeighOf(i).size()) {
				return false;
			}
		}
		return true;
	}
1300593
public boolean isEmpty() {
		int snapshotSize = cleared ? 0 : snapshot.size();
		//nothing in both
		if ( snapshotSize == 0 && currentState.isEmpty() ) {
			return true;
		}
		//snapshot bigger than changeset
		if ( snapshotSize > currentState.size() ) {
			return false;
		}
		return size() == 0;
	}
813532
public boolean isEmpty() {
        return ((files == null) || files.isEmpty())
                && ((fileObjects == null) || fileObjects.isEmpty())
                && (classNames == null || classNames.isEmpty());
    }
596523
public boolean isEmpty() {
        for (int i = 0; i + 1 < array.length; i += 2) {
            int valueNumber = array[i];
            if (valueNumber < 0) {
                return true;
            }
            int myLockCount = array[i + 1];
            if (myLockCount > 0) {
                return false;
            }
        }
        return true;
    }
1099683
public boolean isEmpty()
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
    {
      SibTr.entry(this, tc, "isEmpty");
      SibTr.exit(tc, "isEmpty", new Object[] {Boolean.valueOf(streamSets.isEmpty()), 
          Boolean.valueOf(flushedStreamSets.isEmpty()),streamSets, this});
    }

    // Don't report empty until any pending flushes have completed.
    // Otherwise we may run into a race with an async delete thread
    // for the destination.
    return (streamSets.isEmpty() && flushedStreamSets.isEmpty());
  }
1277376
@Override
    public boolean isEmpty() {
        try {
            lockAllSegments();
            for (LinkedHashMapSegment<K, V> seg : segments) {
                if (!seg.isEmpty())
                    return false;
            }
            return true;
        } finally {
            unlockAllSegments();
        }
    }
373362
def is_suspended(self):
        
        self.open()
        susp = lvm_lv_is_suspended(self.__lvh)
        self.close()
        return bool(susp)
1158490
public boolean isEmpty() {
        for (int i = 0; i < columns; i++) {
            if (cells[i] != null) {
                return false;
            }
        }
        return true;
    }
1222334
public static boolean isExistAccessContextOnThread() {
        final Stack<AccessContext> stack = threadLocal.get();
        return stack != null ? !stack.isEmpty() : false;
    }
898536
@JsonIgnore
    public boolean isEmpty() {
        return CollectionUtils.isEmpty(createdFiles) &&
               CollectionUtils.isEmpty(updatedFiles) &&
               CollectionUtils.isEmpty(deletedFiles);
    }
105994
@SuppressLint("NewApi")
	protected boolean isActivitiyDestroyed() {

		if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) {
			return mActivity.isFinishing() || mActivity.isDestroyed();
		} else {
			return mActivity.isFinishing();
		}

	}