code: private function hasSepaPaymentInstance(array $element)
      {
          if (empty($element['paymentInstances'])) {
              return false;
          }
  
          $paymentInstance = array_shift($element['paymentInstances']);
  
          if (empty($paymentInstance['iban'])) {
              return false;
          }
  
          if (empty($paymentInstance['bic'])) {
              return false;
          }
  
          return true;
      }
docs: @param array $element
  
  @return bool