add an API to detect a black board.