@classmethod
def attempt_convert_uuid_hex_to_bytes(cls, value):
    """Attempt to convert value to bytes or return value.

        :param value: value to attempt to convert to bytes
        :returns: tuple containing boolean indicating whether user_id was
                  stored as bytes and uuid value as bytes or the original value

        """
    try:
        return True, cls.convert_uuid_hex_to_bytes(value)
    except (ValueError, TypeError):
        return False, value
