Connection: added function isByteArray