@staticmethod
def _word_too_long(encoded_word, environment):
    """ Is a given encoded word too long for the LMDB environment?

        :param bytes encoded_word:
        :return bool:
        """
    return len(encoded_word) > environment.max_key_size()
