Added and integrated is-windows? function