IsBinary implemented and tests passed.