On a method of finding singularities of Feynman graphs