def _convert_to_token_dependent_format(dependencies):
    """Converts the entered value to a dependency format acceptable for the token() class.

    Args:
        dependencies (list(rule) or dict): These are rules in a list.

    Returns:
        list: Returns a list with a boolean in position 0 and dependencies in position 1.
    """
    if isinstance(dependencies, dict) and 'rules' in dependencies.keys():
        converted_input = dependencies
        if 'ignore_rules' not in dependencies.keys():
            converted_input['ignore_rules'] = []
        return [True, converted_input]
    elif isinstance(dependencies, list):
        converted_input = {'rules': dependencies, 'ignore_rules': []}
        return [True, converted_input]
    else:
        return [False, {'rules': [], 'ignore_rules': []}]
