code: def update_bindings(self):
          # type: () -> bool
          
          with self._lock:
              all_valid = True
              for handler in self.get_handlers(handlers_const.KIND_DEPENDENCY):
                  # Try to bind
                  self.__safe_handler_callback(handler, "try_binding")
  
                  # Update the validity flag
                  all_valid &= self.__safe_handler_callback(
                      handler, "is_valid", only_boolean=True, none_as_true=True
                  )
              return all_valid
docs: Updates the bindings of the given component
  
          :return: True if the component can be validated