How to determine whether a selected face is an outer surface or an inner surface using SolidWorks macro ?

How to determine whether a selected face is an outer surface or an inner surface using SolidWorks macro