With Sitecore 9.1 there is option to add condition and based on these condition a field or section or page can be display, hide etc. But OOTB only has the condition to compare a fields value with a particular text like: Contains,StartsWith,Endswith etc.
How can i add custom condition? Example: Suppose i need to check if the field is empty or not then enable or disable a button.