Connection: moved function isByteArray to Array.isByteArray