docs: def is_valid(self):
          """
          Tests if the dependency is in a valid state
          """
          return (
              self.requirement is not None and self.requirement.optional
          ) or bool(self._future_value)