The person is checking the contents of a bag to ensure that nothing is loose or rattling around.