def check_valid(self, amount: float) -> None:
    """Checks if activity daily amount is valid for this activity."""
    if amount < self.minimum or amount > self.maximum:
      raise ValueError('Amount out of bounds')
Checks if activity daily amount is valid for this activity.
concordia/contrib/components/game_master/deprecated/daily_activities.py