Adding some convenience functions to IMap to combine bounds checks with space availability checks