There is no API call for this that I know of, but you can get a good idea if an AP is in repeater mode by checking the online status of the AP and seeing if it is offline. If it is not and the AP does not have a LAN IP, it is probably in repeater mode.