Try catch on greyed out menu item uipath

So Im trying to use a try catch on a Copy menu item, ie if the “Copy” option is greyed out it throws an exception, but it won’t throw the exception it seems to think its selectable when ti not?

It is possible for items to be seen as “selectable” by a computer even if they aren’t manually, it all depends on how the application or site was programmed. What logic are you using to check and see if the copy option is greyed out?

click image, IIf there are no rows then copy will be grayed out, but what happens is it does the right click then the menu dissappaers before the image can be checked