public function hasFeature($feature)
    {
        $feature = strtoupper($feature);

        if (!isset($this->features[$feature])) {
            return null;
        }

        return $this->features[$feature];
    }
public function hasFeature($feature)
    {
        $feature = strtoupper($feature);

        if (!isset($this->features[$feature])) {
            return null;
        }

        return $this->features[$feature];
    }
public function hasFeature ( $ feature ) { $ feature = strtoupper ( $ feature ) ; if ( ! isset ( $ this -> features [ $ feature ] ) ) { return null ; } return $ this -> features [ $ feature ] ; }
Check if feature exists and enabled.

@param string $feature

@return bool|null
Check if feature exists and enabled .