Whether has any activeSet.
@return {boolean}
487577
function () {
        var dimensions = this.dimensions;
        var axesMap = this._axesMap;
        var hasActiveSet = false;

        for (var j = 0, lenj = dimensions.length; j < lenj; j++) {
            if (axesMap.get(dimensions[j]).model.getActiveState() !== 'normal') {
                hasActiveSet = true;
            }
        }

        return hasActiveSet;
    }
1089493
def has_any():
    ""
    return get_first(has_ctypes_iocp, has_iocp, has_stdlib_kqueue, has_kqueue, 
                        has_stdlib_epoll, has_epoll, has_poll, has_select)
1115178
public function isactive() {
        global $PAGE;

        if ($this->is_section()) {
            $active = $PAGE->navigation->find_active_node();
            while ($active = $active->parent) {
                if ($active->key == $this->key && $active->type == $this->type) {
                    return true;
                }
            }
        }
        return $this->isactive;
    }
1277381
function isActive() {
    try {
      var key = '___session is active___';
      return session.get(key) || session.set(key, true);
    } catch (err) {
      return false;
    }
  }
293380
private function IsActive()
    {
        $pageItem = $this->naviItem->GetPageItem();
        if (!$pageItem)
        {
            return false;
        }
        return $pageItem->GetPage()->Equals(PageRenderer::Page());
    }
563878
public boolean has() {

		boolean exists = has(EXTENSION_NAME, null, null);

		if (exists) {
			exists = hasColumn();
		}

		return exists;
	}
886908
public function isActive(): bool
    {
        foreach ($this->items as $item) {
            if ($item->isActive()) {
                return true;
            }
        }

        return false;
    }
1374762
def active(self):
        
        qset = super(StaffMemberManager, self).get_queryset()
        return qset.filter(is_active=True)
13846
function hasChildren()
    {
        return array( $this->SetName => false,
                      $this->LetName => true,
                      $this->DefaultName => true );
    }
648266
public function contains()
    {

        // build new set from passed arguments
        $reflection = new \ReflectionClass( get_called_class() );
        $comparing = $reflection->newInstanceArgs( func_get_args() );

        // we don't have a null but the set we're comparing against has it
        if( !$this->containsNull and $comparing->containsNull ) {
            return false;
        }

        reset( $this->intervals );
        reset( $comparing->intervals );

        list(,$compare) = each($comparing->intervals);
        list(,$current) = each($this->intervals);

        while( $compare and $current) {

            // Intervals are maximal. They're either entirely contained or not at all
            if( $compare[0] !== null and $this->sort( $compare[0], $current[1], self::NULL_IS_HIGH ) > 0 ) {
                list(,$current) = each($this->intervals);
                continue;
            }

            // are intervals contained?
            if(
                // compare lower is >= current lower
                $this->sort( $compare[0], $current[0], self::NULL_IS_LOW ) >= 0 and
                // compare upper is <= current upper
                $this->sort( $compare[1], $current[1], self::NULL_IS_HIGH ) <= 0
            ) {

                list(,$compare) = each($comparing->intervals);

            // interval can't be contained
            } else {

                return false;

            }

        }

        // if we're still got something to comparing something we've not been able to match it up with a interval
        return !$compare;

    }
329004
public boolean hasDataRecords() {
		long blkNum = (Long) getVal(OFFSET_TS_BLOCKID, BIGINT).asJavaVal();
		return blkNum != NO_SLOT_BLOCKID ? true : false;
	}
1016033
function (other) {
        assertNotNull(other);

        var c = collectionCount(other);

        if (c !== -1) {
            // if other is the empty set then this is a superset
            if (c === 0) {
                return true;
            }

            else if (areEqualityComparersEqual(this, other)) {
                if (c > this.count()) {
                    return false;
                }
            }
        }

        return containsAllElements(this, other);
    }
30506
function(typeNames) {
      for (var i = 0; i < this.associatedEvents.length; ++i) {
        if (typeNames.indexOf(this.associatedEvents[i].typeName) >= 0)
          return true;
      }
      return false;
    }
87659
function(set) {
    for(var i=0; i < set.length; i++) {
      if(set[i]) return true;
    }
    return false;
  }
882308
public function contains_active_node() {
        if ($this->isactive) {
            return true;
        } else {
            foreach ($this->children as $child) {
                if ($child->isactive || $child->contains_active_node()) {
                    return true;
                }
            }
        }
        return false;
    }
399533
def active(self):
        
        return {key: value for key, value in self.conns.items()
                if value.active}
602732
public function active()
    {
        $classes = $this->getAdaptee()->classes;

        foreach ($classes as $class) {
            if (strpos($class, 'current') !== false) {
                return true;
            }
        }

        return false;
    }