public function has($key)
    {
        $this->fire('checking', $key, [$key]);

        $status = $this->repository->has($this->getKey($key));

        $this->fire('has', $key, [$key, $status]);

        $this->context(null);

        return $status;
    }
public function has($key)
    {
        $this->fire('checking', $key, [$key]);

        $status = $this->repository->has($this->getKey($key));

        $this->fire('has', $key, [$key, $status]);

        $this->context(null);

        return $status;
    }
public function has ( $ key ) { $ this -> fire ( 'checking' , $ key , [ $ key ] ) ; $ status = $ this -> repository -> has ( $ this -> getKey ( $ key ) ) ; $ this -> fire ( 'has' , $ key , [ $ key , $ status ] ) ; $ this -> context ( null ) ; return $ status ; }
Determine if the given setting value exists.

@param string $key
@return bool
Determine if the given setting value exists .