How does Software Management know if an Agent is connected to Patch Management?