Mouse Droid and a Commander locked in a room

So jabba crime lords in a room with all the doors closed and theres a mouse droid outside the room. would my rodian scoundrel still get cunning if hes within 6 squares of the mouse droid even though jabbas locked away?
Yup.