how do you detect a hernia