code: def validate_search_input(self) -> bool:
          "Check if input value is empty."
          input = self._search_input
          if input.value == str(): input.layout = Layout(border="solid 2px red", height='auto')
          else:                    self._search_input.layout = Layout()
          return input.value != str(f validate_search_input(self) -> bool:
          "Check if input value is empty."
          input = self._search_input
          if input.value == str(): input.layout = Layout(border="solid 2px red", height='auto')
          else:                    self._search_input.layout = Layout()
          return input.value != str()
docs: Check if input value is empty.