def is_valid_config(config):
    """
    Checks if a data structure can be considered as a valid binoas
    configuration file. Returns true or false.
    """
    return (
        len(config.keys()) == 1 and
        ('binoas' in config)
    )