Is "Papers, Please" inspired by real events or just the liberal perception of communist states?

I find it hard to believe that your family could starve to death just from some mistakes but I might be in the "too positively biased against AES" stage of my radicalization journey