Here is a cleaner and more professional rewrite:
If it's a base image, it will always be in a committed state. The apply state appears only for updated images.
# installp -L -d . | grep rpm.rte
rpm.rte:rpm.rte:4.20.1.2001::I:C:::::N:RPM Package Manager::::0::
Here, I indicates it is a base image.
------------------------------
Srikanth Thanneeru
------------------------------