code: public static function matches(Configuration $configuration, array $criteria)
      {
          return
              self::matchesArrayCriteria('currencyCode', $configuration, $criteria)
              &&
              self::matchesArrayCriteria('sourceName', $configuration, $criteria)
              &&
              self::matchesArrayCriteria('rateType', $configuration, $criteria)
              ;
      }
docs: Check if rate matches filters.
  
  @param Configuration $configuration Configuration to filter.
  @param array $criteria Filter criteria.
  @return bool TRUE if filter criteria is matched.