If the value is null then we want to disable the button. Is the logic correct here?