Method to get property IgnoreGlobal

@param boolean $bool

@return boolean
482135
public function ignoreGlobal(?bool $bool = null): bool
    {
        if ($bool === null) {
            return $this->ignoreGlobal;
        }

        $this->ignoreGlobal = (bool) $bool;

        return $bool;
    }
745373
public function getBoolean(string $index, $default = null, array $options = []) : ?bool
    {
        return $this->getCastedValue('bool', $index, $default, $options);
    }
691185
public function setBoolean($boolean = null)
    {
        $this->boolean = null !== $boolean ? (bool) $boolean : null;

        return $this;
    }
239798
final protected function getBooleanValue(string $key, bool $default = false): bool
    {
        $value = $this->getConfigValue($key);
        if (!$value) {
            return $default;
        }

        return \boolval($value);
    }
1107529
public function noReset($bool = false)
	{
		if (is_bool($bool)) {
			$this->noReset = $bool;
		} else {
			throw new RuntimeException('Invalid parameter type setted, expected boolean, got ' . gettype($bool));
		}
	}
327525
protected function getInverseBooleanSelectList($includeNull = false)
    {
        $results = array();
        if( $includeNull ) {
            $results[ '' ] = Translate::recursive('common.both');
        }

        $results[ 0 ] = Translate::recursive('common.yes');
        $results[ 1 ] = Translate::recursive('common.no');

        return $results;
    }
1072642
function getGlobalThis() {
    return t.callExpression(
      t.sequenceExpression([t.valueToNode(0), t.identifier("eval")]),
      [t.valueToNode("this")]
    );
  }
686770
public static boolean getBoolean(Properties config, String key, boolean defaultValue) {
		String val = config.getProperty(key);
		if (val == null) {
			return defaultValue;
		} else {
			return Boolean.parseBoolean(val);
		}
	}
601199
public function consistent($bool = true)
    {
        if ($bool === false && $this->index->isSecondaryGlobal()) {
            throw ODMException::secondaryGlobalIndexConsistentReadNotSupported($this->index->getName());
        }

        return parent::consistent($bool);
    }
360406
public Boolean get(JcBoolean bool) {
		Object val = this.getFor(bool);
		if (val != null)
			return (Boolean)val;
		return null;
	}
1156077
public function isNormalized($bool = null)
	{
		if (isset($bool))
		{
			$this->isNormalized = $bool;
		}

		return $this->isNormalized;
	}
458775
public function parseBoolean($value) {
    if (is_bool($value)) return $value;

    $exportValue = var_export($value, true);
    $e = new ParseException("$exportValue could not be parsed as a boolean");

    if (!is_string($value)) throw $e;

    switch (strtolower($value)) {
      case 'true':
      case 'on':
      case 'yes':
      case 'y':
        return true;
      case 'false':
      case 'off':
      case 'no':
      case 'n':
        return false;
      default:
        throw $e;
    }
  }
1230173
public function setVerbose($bool)
    {
        $decorator = $this->getDecorator('TabErrors');
        if ($decorator) {
            $decorator->setOption('verbose', (bool) $bool);
        }
    }
1040229
public function reverse($bool = true)
    {
        if ($bool) {
            $this->parameters['ScanIndexForward'] = false;
        } else {
            unset($this->parameters['ScanIndexForward']);
        }

        return $this;
    }
363675
public boolean get(boolean defaultValue)
    {
        final String value =
            getInternal(
                Boolean.toString(defaultValue),
                false);
        if (value == null) {
            return defaultValue;
        }
        return toBoolean(value);
    }
815617
public function setQuiet($bool)
    {
        $this->quiet = $bool;
        if ($this->quiet) {
            $this->failonerror = false;
        }
    }
914928
def _onGlobal(self, name, line, pos, absPosition, level):
        """"""
        # level is ignored
        for item in self.globals:
            if item.name == name:
                return
        self.globals.append(Global(name, line, pos, absPosition))