DRY check presence of param's key