how to check if a button is clickable in java,selenium webdriver.ps:check if clickable not wait untill it is clickable
<p><a href="https://i.stack.imgur.com/P0vqE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/P0vqE.png" alt="enter image description here"></a>hey i am writing a test case in selenium, the test is based on a shopping website ( <a href="http://www.beechtree.pk/" rel="nofollow noreferrer">http://www.beechtree.pk/</a> ) and what i want to check in my test is if the size for the product select is available or not. the sizes that are not available are gred out on the website so i understand that they are not clickable anymore. I have tried using isEnabled and isDisplayed condition to check if its clickab;e but they don't work.</p>

<p>ps: i want to CHECK if its clickable(size is available) so that if it is not, my program can choose another size to carry on with the procedure (it is currently choosing randomly) so i don't want to wait for it to become clickable.</p>