Prose\FromEnvironment::__isset PHP Method

__isset() public method

public __isset ( $appName )
    public function __isset($appName)
    {
        // what are we doing?
        $log = usingLog()->startAction("check to see if the config contains '{$appName}'");
        // do we have this setting in the config?
        $config = $this->st->getConfig();
        if (isset($config->storyplayer, $config->storyplayer->appSettings, $config->storyplayer->appSettings->{$appName})) {
            $log->endAction("it does");
            return true;
        } else {
            $log->endAction("it doesn't");
            return false;
        }
    }