def METHOD_NAME(self, expr):
    code = ''
    if self._enable_dependencies and expr.dependencies:
        imports = []
        for dep in expr.dependencies:
            imports +=dep.imports
        code = '\n'.join(self._print(i) for i in imports)
        for dep in expr.dependencies:
            code = '{code}\n{dep}'.format(code=code,
                                          dep=self._print(dep))
    return '{code}\n{func}'.format(code=code, func=self._print(expr.func))