Add binary.is implementation