Add new function, check_supported, to make it easy to specified supported operating systems in a module