title: How to detect if specific app can show ads
body: <p>I am implementing an android application which checks whether an installed application can show ads or not.
  What is the safest way to achieve this?
  Thanks in advance.</p>