I was trying to refactor this function to be cleaner and faster
tldr: convert short to boolean array where elements represent bits in a byte, index 0 being the least