True if the Slot is public.
503031
def public(self):
        """"""
        return bool(lib.EnvSlotPublicP(self._env, self._cls, self._name))
1282674
public function isVisible()
    {
        $oActivUser = \OxidEsales\Eshop\Core\Registry::getConfig()->getUser();
        $sActivUserId = null;
        if ($oActivUser) {
            $sActivUserId = $oActivUser->getId();
        }

        $blIsVisible = (bool) ($this->oxuserbaskets__oxpublic->value) ||
                       ($sActivUserId && ($this->oxuserbaskets__oxuserid->value == $sActivUserId));

        return $blIsVisible;
    }
440423
def is_public(self):
        """"""
        for grant in self._boto_object.Acl().grants:
            if 'AllUsers' in grant['Grantee'].get('URI', ''):
                if grant['Permission'] == 'READ':
                    return True

        return False
379661
private final boolean checkUnderflowWithLeft(final int slot) {
		final Node<K, V> nodeRight = tree.getNode(childs[slot]);
		if (nodeRight.isUnderFlow()) {
			final Node<K, V> nodeLeft = tree.getNode(childs[slot - 1]);
			if (nodeLeft.canMerge(nodeRight)) {
				nodeLeft.merge(this, slot - 1, nodeRight);
			} else {
				nodeRight.shiftLR(this, slot - 1, nodeLeft);
			}
			//
			// Update Changed Nodes
			tree.putNode(this);
			tree.putNode(nodeLeft);
			tree.putNode(nodeRight);
			return true;
		}
		return false;
	}
668015
public boolean hasSlotIsNumber(final String slotName) {
        return hasSlot(slotName) && NumberUtils.isNumber(intentRequest.getIntent().getSlot(slotName).getValue());
    }
795357
public boolean isRowStatePreserved()
    {
        Boolean b = (Boolean) getStateHelper().get(PropertyKeys.rowStatePreserved);
        return b == null ? false : b.booleanValue(); 
    }
986605
public function isPublic()
    {
        if ($this->getIsActive() && ($this->getPublishAt()->getTimestamp() < time()) && (!$this->getExpiresAt() || $this->getExpiresAt()->getTimestamp() > time())) {
            return true;
        }

        return false;
    }
883381
def has_access(self, permission_name, view_name):
        
        if current_user.is_authenticated:
            return self._has_view_access(g.user, permission_name, view_name)
        elif current_user_jwt:
            return self._has_view_access(current_user_jwt, permission_name, view_name)
        else:
            return self.is_item_public(permission_name, view_name)
921063
@Override
    public boolean has(int index, Scriptable start)
    {
        if (externalData != null) {
            return (index < externalData.getArrayLength());
        }
        return null != slotMap.query(null, index);
    }
450330
public boolean recordHiddenness() {
    if (!currentInfo.isHidden()) {
      currentInfo.setHidden(true);
      populated = true;
      return true;
    } else {
      return false;
    }
  }
619265
function (name) {
        var slot = SlotFactory.get(name);
        if (!slot.mock) {
            slot.enabled = true;
        }
    }
535190
public function is_last_slot_on_page($slotnumber) {
        if (!isset($this->slotsinorder[$slotnumber + 1])) {
            return true;
        }
        return $this->slotsinorder[$slotnumber]->page != $this->slotsinorder[$slotnumber + 1]->page;
    }
1073412
function () {
        var threshold = this.slot.keys.length * 0.9;

        if (this.slot.size < threshold) {
            this.capacity(this.slot.size);
        }
    }
830694
function(bid) {
    return !!(bid.params.slot && bid.params.adkey && bid.params.ad_size);
  }
746235
def hascurrent(self, allowempty=False):
        """"""
        for e in self.select(Current,None,False, False):
            if not allowempty and len(e) == 0: continue
            return True
        return False
780349
def Slot(self, slotnum):
        
        self.assertNested()
        self.current_vtable[slotnum] = self.Offset()
1201062
public function has_slot($slot, $variant = null) {
        if ($variant === null) {
            return isset($this->questionstats[$slot]);
        } else {
            return isset($this->questionstats[$slot]->variantstats[$variant]);
        }
    }