Function ASTtools::isIfDirectiveEnd