Python decorator to argument checking

I am sure there is billions or more people who already done that but I needed this quickly for my project and was not feeling googling around :