emulate allow() from Params::Check + QA