Add checker for feature and privilege to engine API