public function isProd(): bool
    {
        $nodeType = $this->isEmulated()
            ? $this->emulatedNodeType
            : $this->nodeType;

        return ($nodeType === self::PROD || $nodeType === self::STAGE);
    }
public function isProd(): bool
    {
        $nodeType = $this->isEmulated()
            ? $this->emulatedNodeType
            : $this->nodeType;

        return ($nodeType === self::PROD || $nodeType === self::STAGE);
    }
public function isProd ( ) : bool { $ nodeType = $ this -> isEmulated ( ) ? $ this -> emulatedNodeType : $ this -> nodeType ; return ( $ nodeType === self :: PROD || $ nodeType === self :: STAGE ) ; }
Determine whether the current environment is production

@return bool
Determine whether the current environment is production