The same file changes based on the mode, but doesn't display 'otg' or 'host', rather 'a_wait_bcon' and 'b_idle'.. I guess that might be reliable enough to check the state?