<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def parse(code, module_name="", path=None, apply_transforms=True):
 """Parses a source string in order to obtain an astroid AST from it :param str code: The code for the module. :param str module_name: The name for the module, if any :param str path: The path for the module :param bool apply_transforms: Apply the transforms for the give code. Use it if you don't want the default transforms to be applied. """

    code = textwrap.dedent(code)
    builder = AstroidBuilder(manager=MANAGER, apply_transforms=apply_transforms)
    return builder.string_build(code, modname=module_name, path=path)