added the function checkIfBombIsInCity`