question: public static boolean isAddToHomeIntentSupported ( Context context ) { PackageManager pm = context . getPackageManager ( ) ; Intent i = new Intent ( INSTALL_SHORTCUT ) ; List < ResolveInfo > receivers = pm . queryBroadcastReceivers ( i , PackageManager . GET_INTENT_FILTERS ) ; return ! receivers . isEmpty ( ) ; }
target:  Utility method to check if a shortcut can be added to the home screen.