/** * Check if site assigned with license with enabled features. * * @author Vova Feldman (@svovaf) * @since 1.0.6 * * @return bool */ function has_features_enabled_license() { return is_object($this->_license) && is_numeric($this->_license->id) && $this->_license->is_features_enabled(); }