IsBAPI 

Use this method to return a boolean value indicating whether the active tab window pane contains a business application programming interface (BAPI).

Syntax

IsBAPI()