A characterization of certain quasi-open mappings