Reformat function of role checking
Merge branch 'develop' of https://github.com/alexey-kozlenkov/ExadelPractice into develop