pull the good leg out straight, then allow the leg to bend again and gently rotate/pivot the upper part of the leg. Then gently try the bad leg and see what happens, if similar movement but the bird flinches/trys to pull it away then its either gone back in or its a knock, you may even see some bruising under the feathers.