/** * Checks whether this currency is available in the passed context. * * @param Currencies $currencies * * @return bool */ public function isAvailableWithin(Currencies $currencies) { return $currencies->contains($this); }