Add accessor to get 'visibility' part of st_other field

This new `getVisibility()` function will also be used in the LLD code.