The person is doing a psoas test, which involves flexing and holding the muscle isometrically to determine its strength.