The role of the legal system in ensuring the social function of the state: the globalization dimension - O. F. Danych (Almanac of Law, 2019)