use common check for mandatory option