def interpret_flags(bitmask, values):
    """
    Args:
        bitmask: flags to check
        values: array of tuples containing (value, description) pairs

    Returns: string containing descriptions of flags

    """
    return ', '.join(desc for num, desc in values if num & bitmask) if bitmask else None