Get result of add impulse if object was not moved

So, lets say my character has the ability to push “movable” objects. This is alredy implemented and working as desired.

But I want to make the characher be pushed back if he tries to push an object that is hitting a wall or an immovable object, is there a way to see if my add impulse had any effect?

Or a best way to do is some ray casts on the movable object boundaries to see if is touching any other thing?