import ast


def get_functions(node):
    """get the function definitions inside node

    Args:
        node (ast.AST): node containing a `body` attribute.
    Returns:
        ast.FunctionDef: function definition instance present in the node body.
    """
    return filter( (lambda child: isinstance(child, ast.FunctionDef)),  node.body)