remove deprecated getIsApi call