PhpSandbox\PHPSandbox::isBlacklistedKeyword PHP Method

isBlacklistedKeyword() public method

Check if PHPSandbox instance has blacklisted keyword name set
public isBlacklistedKeyword ( string $name ) : boolean
$name string String of keyword $name to query
return boolean Returns true if PHPSandbox instance has blacklisted keyword $name, false otherwise
    public function isBlacklistedKeyword($name)
    {
        $name = $this->normalizeKeyword($name);
        return isset($this->blacklist['keywords'][$name]);
    }
PHPSandbox