return false if required parameters are missing