def validate_data(data, categories):
    """ Returns False if the list should not be included in the database,
    either because it is an incomplete entry or because the account is
    protected. """
    if data[categories.index("protected")] != "FALSE":
        return False
    return not any([not x for x in data])