Adding check_if_direct_access_mode() to instrument and platform agents
Minor change to a test
Merge pull request #1076 from shenrie/master

Adding check_if_direct_access_mode() to instrument and platform agents