title: Is it possible to check if a computer is connected to a domain with python?
body: <p>Is it possible to check if a computer is connected to a domain?
  I want to be sure that the computer is connected to my company´s network with python (means that he is inside the company, using company´s network), so It would allow some scripts to run.</p>