Partial inlining of the stub check.
Partial inlining of the stub check.

Change-Id: I31dbe31276876c3a7ff5e24f6a1a19ce8a61d72e

treadstoneproject/artinst,treadstoneproject/artinst,treadstoneproject/artinst,treadstoneproject/artinst,treadstoneproject/artinst