def is_encryption_master_key_valid(encryption_master_key):
    """
    is_encryption_master_key_valid() checks if the provided encryption_master_key is valid by checking its length
    the key is assumed to be a six.binary_type (python2 str or python3 bytes)
    """
    if encryption_master_key is not None and len(encryption_master_key) == 32:
        return True

    return False