Call Dynamo Built-in Functions in Python Component

Is there a way to call Dynamo’s built-in functions in a Python component, for example, Flatten()?