Should `inmap` be a boolean?