Checks if the input byte array contains only safe values, the data does not need to be encoded for use with LDIF