Checking if ai is selected in behavior tree

Anyone have a clue?