is Row Expanded method

Is there an easy way to check if a row (in a treegrid) is already expanded? Thanks.

    grid.getOpenState(ID)

Result is
    false - closed
    true- opened