SAPI cli Interface

Implement a more permissive way of determining if interface is *cli*.