def _get_formatted_feature_dependencies(data):
conditions = list()<EOL>for k, v in data.items():<EOL><INDENT>for feature in v.get('<STR_LIT>', list()):<EOL><INDENT>conditions.append(dict(<EOL>name=k,<EOL>subject=feature,<EOL>ctype='<STR_LIT>'<EOL>))<EOL><DEDENT>if v.get('<STR_LIT>', False):<EOL><INDENT>conditions.append(dict(<EOL>name=k,<EOL>subject=None,<EOL>ctype='<STR_LIT>'<EOL>))<EOL><DEDENT>if v.get('<STR_LIT>', False):<EOL><INDENT>conditions.append(dict(<EOL>name=k,<EOL>subject=None,<EOL>ctype='<STR_LIT>'<EOL>))<EOL><DEDENT><DEDENT>return conditions<EOL>
Takes the format of the feature_order.json in featuremodel pool.
Creates a list of conditions in the following format:
]
    dict(
        name='django_productline.features.admin',
        subject='django_productline',
        ctype='after'
    )
]
:param data:
:return: list